Combine Two Signals Simulink

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

Thanks Kaustubha Govindv for your reply
put how to make the UFW let it's Frame of ones and zeros to run single time at the first time-step.
I uses Repeating Sequence Stair for my sequence so how to make it run single time only or what Block Can be used for this.
Thanks In Advance
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.
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

Asked:

on 13 Feb 2012

Edited:

on 10 Oct 2013

Community Treasure Hunt

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

Start Hunting!