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

1 Ansicht (letzte 30 Tage)
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 Kommentare
Mathieu NOE
Mathieu NOE am 12 Okt. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by