Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
Contest
MathWorks.com

MATLAB CentralFile Exchange > Whitepapers and Articles > Comparison of C++ and MATLAB Using Object Oriented Application Example
 Comparison of C++ and MATLAB Using Object Oriented Application Example   
 
Download Now:
  Rating:
  Code Metrics:

 What is this?
  Author: Stuart McGarrity
  Summary: Wireless Communications Application Example Used to Compare C++ and MATLAB Code
  MATLAB Release: R2008a
  Description: 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)
   
  Published
M-files:

How do I What are
Published M-files?
Comparing C++ and MATLAB Code
Comparison of C++ and MATLAB Using Object Oriented Application Example
   
  Other HTML Files: BuildLog.htm
BuildLog.htm
   

File Details  
 
  File Id: 18971 Average rating: 4.75
  Size: 3768 KB # of reviews: 7
  Submitted: 2008-02-28 Downloads: 991
  Subscribers: 5  
  Keywords: C++ MATLAB object oriented comparison compare class wireless bluetooth
   
  Zip file contents: AWGN.m, AWGNChannel.m, BluetoothReceiver.m, BluetoothTransmitter.m, Channel.m, ComparingCAndMATLAB.html, Description.html, FIRFilter.m, IEEE802_11b_Receiver.m, IEEE802_11b_Transmitter.m, RandomBit.m, Receiver.m, Transmitter.m, btint.m, constants.m, getArg.m, programArgs.m, random.m, setRSRCpulseShapingFilter.m, stripCComments.m, test_ber.m, awgnchan.h, basetype.h, bluetooth.h, configure.h, datatype.h, ieee802.11b.h, programargs.h, random.h, stdcpp.h, templates.h, util.h, README, full-results.out, test-results-unix.out, test-results-win32.out, awgnchan.cpp, basetype.cpp, bluetooth.cpp, configure.cpp, ieee802.11b.cpp, main.cpp, programargs.cpp, random.cpp, UpgradeLog.XML, btint.ncb, btint.sln, btint.suo, btint.vcproj, btint.vcproj.MATHWORKS.stuartm.user, BuildLog.htm, awgnchan.obj, basetype.obj, bluetooth.obj, btint.exe, btint.exe.embed.manifest, btint.exe.embed.manifest.res, btint.exe.intermediate.manifest, btint.ilk, btint.pch, btint.pdb, configure.obj, ieee802.11b.obj, main.obj, mt.dep, programargs.obj, random.obj, vc70.idb, vc70.pdb, vc80.idb, vc80.pdb, BuildLog.htm, awgnchan.obj, basetype.obj, bluetooth.obj, btint.exe, btint.exe.intermediate.manifest, btint.pch, configure.obj, ieee802.11b.obj, main.obj, mt.dep, programargs.obj, random.obj, vc70.idb, vc80.idb, UpgradeReport.css, UpgradeReport.xslt, UpgradeReport_Minus.gif, UpgradeReport_Plus.gif


User Reviews
Number of Reviews: 7
Date: 2008-06-25
From: Richard Minala (rminala@ee.unitech.ac.pg)
Rating:
Comments:
Date: 2008-06-12
From: Esubalew Adam Endalew (esubalew_ad@yahoo.com)
Rating:
Comments:
Date: 2008-05-10
From: hoang thang (thang_ypn@yahoo.com)
Rating: N/A
Comments: lljljlk

See more reviews

Review this Submission
Bold Indicates Required Information
Overall Rating:
 General Comments  
 1  Poor
 2  Needs Improvement
 3  Fair
 4  Good
 5  Excellent
 
Comments:    
First Name:  
Last Name:  
E-mail:  
Organization:  
 
Spam Prevention:  
Please type the characters you see in the picture above.  
   
 
Changes  
 
2008-03-03 Fix summary and Video URL
2008-03-01 Resize image
2008-03-01 Resized Image
2008-03-01 Reformat
 

 
  Download Now:



Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Related Topics