Plot window is coming up blank. Why?
Ältere Kommentare anzeigen
t = 0:0.01:10
for vs = 3.*exp(-t /3).*sin(pi*t)
if (vs <= 0)
vl = 0;
else
vl = vs;
end
end
plot(t,vl)
title('Load voltage vs Time')
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!