how can I plot this function?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Shouq A
am 6 Apr. 2020
Kommentiert: darova
am 7 Apr. 2020
how can i plot this function in matlab x(t)= J0(πt)[u(t) − u(t − 1)] and h(t) = 1.5 cos(πt)[u(t) − u(t − 1.5)]?
1 Kommentar
Akzeptierte Antwort
shubhi dua
am 6 Apr. 2020
t=0:0.001:20
% as you decrease the step size the graph becomes more and more acurate.%
x= J0(pi*t)(heaviside(t)-heaviside(t-1))
plot(t,x)
y=1.5*cos(pi*t).*(heaviside(t)-heaviside(t-1.5))
plot(t,y)
1 Kommentar
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!