File Exchange

image thumbnail

Comparison of C++ and MATLAB Using Object Oriented Application Example

version 1.9.0.1 (3.69 MB) by

Wireless Communications Application Example Used to Compare C++ and MATLAB® Code

4.28571
7 Ratings

14 Downloads

Updated

View License

Editor's Note: 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 (http://tinyurl.com/2fq9qp). 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 (http://tinyurl.com/29cdle)

* Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example (http://tinyurl.com/2yyk96)

* MATLAB Classes and Object Oriented Programming Documentation (http://tinyurl.com/2z8mba)

For more information on MATLAB OOP, see product page: http://www.mathworks.com/discovery/object-oriented-programming.html

Comments and Ratings (11)

zhang george

very useful

Omar

Omar (view profile)

Samurai

I think it is very good for me to learn this issure. Thanks a lot.

Richard Minala

Esubalew Adam Endalew

hoang thang

lljljlk

hailu sergota

good

hailu sergota

good

Richard Littlewood

Good introduction to this major new feature set

tarik yg

Updates

1.9.0.1

Updated license

1.9

Added link.

1.7

Copyright work.

1.5

Trademark work.

1.3

Trademark work.

1.1

Added trademarks.

Resized Image

Reformat

Resize image

MATLAB Release
MATLAB 7.6 (R2008a)

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video