x(t) = 2*u((-t/4)+2), |t|<=10
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
milton
am 5 Nov. 2020
Beantwortet: Ibrahem Ahmed
am 16 Mär. 2021
I want to plot the above equation in matlab but i dont know how to plot please help or provide me code
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 5 Nov. 2020
Bearbeitet: Ameer Hamza
am 5 Nov. 2020
I guess u is the unit-step function. You can try this if you have symbolic toolbox
syms t
x = 2*heaviside(-t/4+2);
fplot(x, [-10 10]);
Without symbolic toolbox
u = @(x) 1*(x>=0);
t = -10:0.01:10;
x = 2*u(-t/4+2);
plot(t, x)
2 Kommentare
Weitere Antworten (1)
Ibrahem Ahmed
am 16 Mär. 2021
u = @(x) 1*(x>=0); t = -10:0.01:10; x = 2*u(-t/4+2); plot(t, x)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Number Theory 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!