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
37.4K 次下载
更新时间 2022/5/31

查看许可证

编者注: 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 CenterMATLAB Answers 中查找有关 Software Development Tools 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.9.0.3

Fix broken link.

1.9.0.2

Fixed broken links

1.9.0.1

Updated license

1.9.0.0

Added link.

1.7.0.0

Copyright work.

1.5.0.0

Trademark work.

1.3.0.0

Trademark work.

1.1.0.0

Added trademarks.

1.0.0.0

Fix summary and Video URL