Combine Two Signals Simulink
2 views (last 30 days)
Show older comments
Hi All, I'm Building A channel estimation Model using LMS by simulink and i faced a problem when i tried to make a Unique Frame Word (UFW) to send it at the start communication then it followed by my modulated data. i tried to use concatenate the two arrays then it followed by unbuffer it works but it repeat sending my UFW. i just want it to send it once then continue my modulated data only. Thanks In Advance Islam Galal
0 Comments
Accepted Answer
Kaustubha Govind
on 14 Feb 2012
One way that you could achieve what you need is to delay your modulated data using the Unit Delay block. Set the Initial Conditions to your UFW so that it is sent at the first time-step, followed by your data.
3 Comments
Kaustubha Govind
on 14 Feb 2012
You can put the blocks that generate the UFW inside an Enabled Subsystem that is enabled by a control signal that is high only for the first time-step (you can generate this using a Unit Delay block with a Constant=0 as input, and Initial Condition=1). Also, use a Switch block that uses the same control signal as the Enabled subsystem. Connect the UFW signal to one input of the Switch block and your delayed signal to the second. Configure your switch so that the UFW signal is passed through when the control signal is enabled, and your delayed data signal at all other times.
More Answers (0)
See Also
Categories
Find more on Simulink Functions 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!