how to generate specific data with certain data rate

2 views (last 30 days)
i want to generate data ( 01001111010001 ) with data rate (200kb/sec ) . i ask how to generate this data with this certain data rate
  1 Comment
Walter Roberson
Walter Roberson on 27 Jun 2012
Is this a Simulink question? Or is it a question about outputting to a serial port? Or through a digital to analog convertor? Or through speakers ? Or ... ?

Sign in to comment.

Answers (2)

mspdivo
mspdivo on 28 Jun 2012
i need to generate this data to transmit with usrp device which connect to pc by usb .( i use usrp to send data wireless in radio frequency ) Thanks for attention mr Walter Roberson . and i wait your answer ?

Walter Roberson
Walter Roberson on 28 Jun 2012
Fixed-rate data cannot be transmitted by USB: USB is not designed for it. At least not if you need reliable data transfer to the USB-connected device: if you are willing to use unreliable transmission mode then USB is designed to allow "bandwidth reservation".
Unfortunately, MATLAB does not have any interface to that level of USB control.
Does the USRP device appear as a virtual serial port to the device manager? If it does then those transmissions are considered unreliable and there is no way (that I know of) to do bandwidth reservation for virtual serial ports (certainly not within MATLAB). Bandwidth reservation in USB is typically used for audio or video

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!