Mixed Programming Between Matlab and C++ to Generate Power Test Signal
CSTR:
Author:
  • Article
  • | |
  • Metrics
  • |
  • Reference [11]
  • |
  • Related
  • | | |
  • Comments
    Abstract:

    According to the problem that it is difficult to generate white noise and some other speaker power test signals in C++ Builder and the problems of compatibility in mixed programming between Matlab and C++ Builder, a mixed method combined Matlab with C++ is put forward. Firstly, a dynamic link library DLL is generated in Matlab. Then, VS calls the DLL file and writes interface function to create another DLL file which can be used in C++ Builder. Finally, design the application program to generate the speaker power test signal in C++ Builder. To verify the accuracy of the generated signal, some parameters of signal are calculated, such as the mean, variance, self-correlation, spectrum and power spectral density, the probability density and RTA of one third octave. Comparing the calculated results with the standard signal's, it shows that the signal generated by mixing programming can be used for speaker power test.

    Reference
    1 盘书宝.一种基于FPGA的高斯噪声源设计.桂林航天工业学院学报,2014,4:330-334.
    2 付俊,李光灿.一种高斯白噪声信号发生器的设计与实现.计算机测量与控制,2012,5:1436-1438.
    3 李璞,赵地.Matlab与VC++混合编程技术在信号采集中的应用.计算机与网络,2013,12:56-58.
    4 左明成,武云.VC++和MATLAB混合编程的新应用.计算机技术与发展,2014,12:15-20.
    5 罗伯特·J·希林,桑德拉·L·哈里斯.殷勤业,王文杰,邓科等译.数字信号处理导论——MATLAB实现.西安:西安交通大学出版社,2014.
    6 朱磊.MATLAB与C的对比研究.宜春学院学报, 2012,4:49-50.
    7 岳曌.伪随机序列的构造及其自相关函数分析[学位论文].西安:西安电子科技大学,2014.
    8 屈毅,穆丽宁,赖展翅.非高斯随机分布系统自适应控制算法的研究.现代电子技术,2014,4:53-55.
    9 侯盼卫,杨录,王建军.基于FFT系数的正弦信号频率估计算法.光电技术应用,2013,6:58-62.
    10 张晓勇,罗来源.参数未知的舰船辐射噪声检测方法.声学学报,2015,4:511-518.
    11 GB/T12060.2-2011.声系统设备第2部分:一般术语解释和计算方法.北京:中国质检出版社,2011.
    Related
    Cited by
    Comments
    Comments
    分享到微博
    Submit
Get Citation

周静雷,董姣,常诚,李倩.采用MATLAB与C++混合编程生成扬声器功率实验信号.计算机系统应用,2016,25(4):206-209

Copy
Share
Article Metrics
  • Abstract:2329
  • PDF: 3520
  • HTML: 0
  • Cited by: 0
History
  • Received:August 13,2015
  • Revised:October 08,2015
  • Online: April 19,2016
Article QR Code
You are the first990613Visitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063