y1=(t1==0)
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
the meaning for this command to generate impulse how it will produce 1 at t1=0
0 Kommentare
Antworten (1)
hosein Javan
am 11 Aug. 2020
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]
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!