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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by