Combine Two Signals Simulink

2 views (last 30 days)
Islam Galal
Islam Galal on 13 Feb 2012
Edited: Cedric on 10 Oct 2013
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

Accepted Answer

Kaustubha Govind
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
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.
Islam Galal
Islam Galal on 14 Feb 2012
Thank You Kaustubha Govind
I did as you said and it works great
You Really Helped Me
Thanks Again
Islam Galal

Sign in to comment.

More Answers (0)

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!