필터 지우기
필터 지우기

y1=(t1==0)

조회 수: 5 (최근 30일)
Usha Us
Usha Us 2020년 8월 11일
답변: hosein Javan 2020년 8월 11일
the meaning for this command to generate impulse how it will produce 1 at t1=0

답변 (1개)

hosein Javan
hosein Javan 2020년 8월 11일
if "t1" is a vector like this:
t1 = [-2 -1 0 +1 +2]
then "t1==0" is a vector of same size which replaces any non-zero value by zero and any zero value by one:
t1 ==0
[0 0 1 0 0]

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by