Introduction Some times it is required that we build a shared library (DLL) from an m-file. M-files are functions that are written in Matlab editor and can be used from Matlab command prompt. In m-files, we employ Matlab built-in functions or toolbox functions to Compute something. In my past articles, I showed you some ways to use Matlab engine (vis. API, C++ class or Matlab engine API) for employing Matlab built-in functions, but what about functions that we develop? How can we use them in VC? Is there any interface? This article shows you an idea to employ your own Matlab functions.
标签: Introduction required M-files library
上传时间: 2016-01-29
上传用户:zhoujunzhen
How the K-mean Cluster work Step 1. Begin with a decision the value of k = number of clusters Step 2. Put any initial partition that classifies the data into k clusters. You may assign the training samples randomly, or systematically as the following: Take the first k training sample as single-element clusters Assign each of the remaining (N-k) training sample to the cluster with the nearest centroid. After each assignment, reComputed the centroid of the gaining cluster. Step 3 . Take each sample in sequence and Compute its distance from the centroid of each of the clusters. If a sample is not currently in the cluster with the closest centroid, switch this sample to that cluster and update the centroid of the cluster gaining the new sample and the cluster losing the sample. Step 4 . Repeat step 3 until convergence is achieved, that is until a pass through the training sample causes no new assignments.
标签: the decision clusters Cluster
上传时间: 2013-12-21
上传用户:gxmm
Generate 100 samples of a zero-mean white noise sequence with variance , by using a uniform random number generator. a Compute the autocorrelation of for . b Compute the periodogram estimate and plot it. c Generate 10 different realizations of , and Compute the corresponding sample autocorrelation sequences , and . Compute the average autocorrelation sequence as and the corresponding periodogram for . d Compute and plot the average periodogram using the Bartlett method. e Comment on the results in parts (a) through (d).
标签: zero-mean Generate sequence variance
上传时间: 2016-03-04
上传用户:朗朗乾坤
DataDraw is an ultra-fast persistent database for high performance programs written in C. It s so fast that many programs keep all their data in a DataDraw database, even whi le being manipulated in inner loop s of Compute intensive appl ications.
标签: C. performance ultra-fast persistent
上传时间: 2013-12-19
上传用户:xhz1993
SourceModeling 这个java程序可以统计出给出的txt文本中所有的英文字母和使用的字符出现的字数并显示出来,使用ASCII码读取。(之后可以使用这个代码进行Huffman编码的基础) 2.2 DecOfInd.txt 为被统计的文档。SM.java为统计的java程序。 SM.class是SM.java生成的类文件。 Compute.txt是输出结果到屏幕后的信息text复制。
标签: SourceModeling java txt 程序
上传时间: 2016-06-07
上传用户:qiao8960
This article introduces how to construct a Hospital Ward Information System with three-tiered technology. The System applies to UML, BDE, MIDAS, distributed Compute theory and a special architecture to make such functions: patients check in and check out, prescription input, drug-delivery at center pharmacy and information of patient manage with Computer networking.
标签: three-tiered Information introduces construct
上传时间: 2016-08-16
上传用户:hn891122
Process a binary data stream using a communication system that consists of a baseband modulator, channel, and demodulator. Compute the system s bit error rate (BER). Also, display the transmitted and received signals in a scatter plot.
标签: communication modulator baseband consists
上传时间: 2017-01-08
上传用户:ardager
It is inserted that the worm will duplicate great.exe to get the systematic materials in the Computer of infecting, and produce a script.ini file to reach in mirc catalogue . The worm will utilize emule to disseminate too.
标签: the systematic duplicate materials
上传时间: 2017-01-13
上传用户:ddddddos
Using an easy-to-follow format, this book explains the basics of MATLAB up front. You ll find out how to plot functions, solve algebraic equations, and Compute integrals. You ll also learn how to solve differential equations, generate numerical solutions of ODEs, and work with special functions. Packed with hundreds of sample equations and explained solutions, and featuring end-of-chapter quizzes and a final exam, this book will teach you MATLAB essentials in no time at all.
标签: easy-to-follow explains MATLAB basics
上传时间: 2017-04-10
上传用户:时代电子小智
This is a mutlicore and cluster(of single-core,multi-core systems) matrix inversion code. Which uses the MPI(Message Passing Interface) for communication across the Compute nodes of cluster and using thread-API based OpenMP(Open Multi Processing) between cores of intra-Compute or head node.
标签: single-core multi-core inversion mutlicore
上传时间: 2013-12-21
上传用户:ryb