Combine Two Signals Simulink

3 vues (au cours des 30 derniers jours)
Islam Galal
Islam Galal le 13 Fév 2012
Modifié(e) : Cedric le 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

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 14 Fév 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 commentaires
Kaustubha Govind
Kaustubha Govind le 14 Fév 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 le 14 Fév 2012
Thank You Kaustubha Govind
I did as you said and it works great
You Really Helped Me
Thanks Again
Islam Galal

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by