How do I plot an equation?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How would I be able to plot the following equation into matlab : y=e^(-x/0.005)?
0 Kommentare
Antworten (1)
Voss
am 30 Apr. 2022
One way:
x = -0.02:0.0001:0.02;
y = exp(-x/0.005);
plot(x,y)
Another way:
y = @(x)exp(-x/0.005);
fplot(y,[-0.02 0.02])
0 Kommentare
Siehe auch
Kategorien
Mehr zu Digital Filter Analysis 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!