-
vc调用matlab
将一个m文件转成c /cpp文件并在VC中进行编译。这种方法有个烦人的地方,每次你都需要把matlab生成的一 大堆c和h文件考到vc中,比如我读入一副图片先做膨胀,再腐蚀,再进行小波变换,最后 显示。这样一个程序会生成大概150多个文件,每次都要拷贝这些文件很不方便。我试着用 了另外一种方法,可以简化这些工作。那就是不生成cpp文件交给VC去编译,而是直接在m atlab中生成一个dll交给VC去链接即可。这样无论matlab生成多少文件,都只需要拷贝三 个文件即可。 (m to a document conversion c/cpp files and compile VC. Such a method is a nagging place every time you need Matlab has generated a lot of c and h vc document examination, for example, I read a photo, first expansion, and corrosion, further wavelet transform, the last show. Such a procedure will probably generate more than 150 documents, each copy of these documents must be very inconvenient. I tried another kind of approach can simplify their work. It is not generating cpp documents to the VC to compile, but m atlab directly in the formation of a dll to the VC to link. No matter how many documents generated Matlab, only three need to copy documents.)
- 2005-03-22 21:40:12下载
- 积分:1
-
MATLAB5X
MATLAB5.X入门与提高.pdf 想学习MATLAB编程的入门书籍,可以参考(Introduction and improvement of MATLAB5.X PDF want to learn MATLAB programming entry books, can refer to
)
- 2012-02-09 16:31:57下载
- 积分:1
-
calculate-FFT
基于FFT平面相控阵天线方向图快速计算 (Figure quickly calculate FFT-based planar phased array antenna direction)
- 2013-12-04 12:31:56下载
- 积分:1
-
FPE
说明: 按FPE定阶的
源程序:fpe.cpp
M序列:M序列.txt
白噪声:Gauss.txt
程序中先用依模型阶次递推算法估计模型的参数,再用fpe方法判断模型的阶次。
程序运行结果如下:
n: 1
判断阶次FPE的值: 0.0096406
-0.481665 1.07868
n: 2
判断阶次FPE的值: 0.00875755
-0.446739 0.00498181 1.07791 0.0527289
n: 3
判断阶次FPE的值: 0.0087098
-0.459433 0.120972 -0.0569228 1.07814 0.0390757 0.116982
n: 4
判断阶次FPE的值: 0.000396884
-0.509677 0.4501 -0.200906 0.0656188 1.07991 -0.0156362 0.442989 0.0497236
n: 5
判断阶次FPE的值: 3.2095e-007
-1.18415 0.813123 -0.517862 0.34881 -0.116864 1.07999 -0.744141 0.474462 -0.253112 0.122771
n: 6
判断阶次FPE的值: 3.23349e-007
-1.14659 0.76933 -0.487651 0.329676 -0.10377 -0.00440907 1.07999 -0.703574 0.447253 -0.235282 0.113587 0.00479688
从以上结果可以看出,当n=5时,fpe值最小,所以这时的模型阶次和参数估计值为最优结果:
3.2095e-007
-1.18415 0.813123 -0.517862 0.34881 -0.116864 1.07999 -0.744141 0.474462 -0.253112 0.122771(err)
- 2008-09-12 01:14:14下载
- 积分:1
-
MVQrara
用matlab实现基于LBGG算法的向量量化编码可直接使用。
(Using matlab to achieve vector quantization coding based on LBGG algorithms can be used directly.)
- 2012-07-18 11:28:39下载
- 积分:1
-
Code
Integers is given a rectangular matrix. define:
1) The number of rows containing at least one zero element
2) the number of the column in which the longest series of the same elements
- 2014-12-04 05:36:46下载
- 积分:1
-
Digital_image_processing_using_matlab
Digital image processing using matlab - Rafael C. Gonzalez, Richard E. Woods, Steven L. Eddins - 0130085197(Digital image processing using matlab- Rafael C. Gonzalez, Richard E. Woods, Steven L. Eddins- 0130085197)
- 2009-07-20 11:22:20下载
- 积分:1
-
Abc2sc
file matlab for power system
- 2013-05-26 00:53:21下载
- 积分:1
-
vcmat
以前使用matlab和vc混合编程都使用的是先将m程序用mcc转化成dll,再在vc中调用
的方法。这种方法对比较复杂的m文件很方便,但是对一些小的程序,如曲线可视化、计算矩阵特征值等,对这些只需要一两行代码的小程序,再使用dll就得不偿失了。经过试验后,发现可以直接在C++程序中调用matlab c/c++ math & graphic library的函数。(before using Matlab and vc mixed programming using the first procedure used mcc m into dl l, then vc call method. This method of complex documents m very easy, but for some minor procedures, such as curve visualization, matrix eigenvalue calculation, and so on, these are just two lines need a small procedure code, reuse dll on the loss outweighs the gain. After testing, can be found directly in the C Programming Calling Matlab c/c math)
- 2007-01-16 11:13:13下载
- 积分:1
-
BarcodePrint
DM码,QR码生成,能够很好地生成二维码,并且支持大小可调(DM,QR barcode,yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy)
- 2014-09-10 21:05:28下载
- 积分:1