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

1 visualización (últimos 30 días)
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 comentarios
Mathieu NOE
Mathieu NOE el 12 de Oct. de 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

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by