how to convert binary data from serial to parallel??
Mostrar comentarios más antiguos
i am doing coding of OFDM. i need to convert the serial binary data to parallel form.
2 comentarios
Walter Roberson
el 25 de Feb. de 2013
Is this question about Simulink, or is it a question abou using a serial to parallel hardware interface?
Simran
el 25 de Feb. de 2013
Respuestas (2)
per isakson
el 25 de Feb. de 2013
0 votos
Walter Roberson
el 25 de Feb. de 2013
parallel_form = reshape( serial_form, number_parallel_bits, []) .' ;
For example,
parallel_form = reshape( YourData, 8, []) .' ;
This assumes you want the parallel data per-row. It also assumes that the serial data is exactly divisible into parallel frames.
5 comentarios
Sandeep Kumar
el 8 de Sept. de 2016
how to convert serial to parallel data using simulink @walter roberson
Walter Roberson
el 8 de Sept. de 2016
Is this question about using the Simulink reshape block, or is it a question about using a serial to parallel hardware interface, or is it a question about converting values to a bunch of bits numerically?
KOSHILA DODANTENNA
el 14 de Feb. de 2017
Hi guys,
I have the same problem in creating a serial to parallel & parallel to serial converters using Simulink. Could someone help me out here..??
Amilton Pensamento
el 21 de Oct. de 2022
@Walter Roberson, thank you!
What about the other way around? How will the general expression look like to convert from parallel to serial?
Walter Roberson
el 21 de Oct. de 2022
reshape(parallel_form.',1,[])
Categorías
Más información sobre Simulation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!