how to generate specific data with certain data rate

2 visualizaciones (últimos 30 días)
mspdivo
mspdivo el 27 de Jun. de 2012
i want to generate data ( 01001111010001 ) with data rate (200kb/sec ) . i ask how to generate this data with this certain data rate
  1 comentario
Walter Roberson
Walter Roberson el 27 de Jun. de 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 ... ?

Iniciar sesión para comentar.

Respuestas (2)

mspdivo
mspdivo el 28 de Jun. de 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 el 28 de Jun. de 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

Categorías

Más información sobre Communications Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by