merging two vectors into one that takes the second input after the first

3 vues (au cours des 30 derniers jours)
Samy Alkhayat
Samy Alkhayat le 11 Oct 2022
Commenté : Samy Alkhayat le 13 Oct 2022
I am trying to have a feedback signal (signal 2) starts immediatly after initial signal (signal 1). Signals 1 and 2 are two vectors with time dimension at the same sampling rate. The way I thought about this is to have a merge block with a unit delay on the second input signal, but not exactly sure how to implement that in terms of the settings for the unit delay and subsystem for the merge inputs. Please help. Thanks in advance!
  2 commentaires
Mathieu NOE
Mathieu NOE le 12 Oct 2022
hello
maybe another alternative is to use the switch block
you need athird signal to say when to switch from signal 1 to signal 2

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by