Comparison of C++ and MATLAB Using OOP Example
版本 1.9.0.3 (3.7 MB) 作者:
Stuart McGarrity
Wireless Communications Application Example Used to Compare C++ and MATLAB® Code
编者注: Popular File 2009
This example calculates the bit error rate (BER) of a Bluetooth® or 802.11b communication link interfered with by another 802.11b or Bluetooth transmitter. It uses the new MATLAB® object oriented programming features released in R2008a.
The main function btint and accompanying classes have been translated from the C++ NIST Bluetooth and IEEE 802.11b Coexistence Simulator. The original C++ code has been retained as comments in the MATLAB code to help with its understanding for those familiar with C++.
See Description.html for information on how to run it and ComparingCAndMATLAB.html to compare the two implementations.
Other useful resources for learning object orient programming in MATLAB include:
* Defining Classes Video Tutorial - 11 min (https://www.mathworks.com/videos/developing-classes-overview-101452.html )
* Comparison of C++ and MATLAB Using Object Oriented Application Example (http://tinyurl.com/2zkhgu )
* MATLAB Classes and Object Oriented Programming Documentation (https://www.mathworks.com/help/matlab/object-oriented-design-with-matlab.html )
For more information on MATLAB OOP, see product page: https://www.mathworks.com/products/matlab/object-oriented-programming.html
引用格式
Stuart McGarrity (2024). Comparison of C++ and MATLAB Using OOP Example (https://www.mathworks.com/matlabcentral/fileexchange/18971-comparison-of-c-and-matlab-using-oop-example), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Software Development Tools 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!