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

1 回表示 (過去 30 日間)
Samy Alkhayat
Samy Alkhayat 2022 年 10 月 11 日
コメント済み: Samy Alkhayat 2022 年 10 月 13 日
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 件のコメント
Mathieu NOE
Mathieu NOE 2022 年 10 月 12 日
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
Samy Alkhayat
Samy Alkhayat 2022 年 10 月 13 日
Thank you.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by