Comparison of C++ and MATLAB Using OOP Example
Versión 1.9.0.3 (3.68 MB) por
Stuart McGarrity
Wireless Communications Application Example Used to Compare C++ and MATLAB® Code
Nota del editor: 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
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2008a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Software Development Tools en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
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 |