
help on entering velocity formula
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Caprice Corlew
am 20 Sep. 2014
Beantwortet: Image Analyst
am 20 Sep. 2014
How would I enter "v= πe^(-0.25t) cos(πt)-0.25e^(-0.25t) sin(πt)" into my script ?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 20 Sep. 2014
Try this:
fontSize = 20;
t = linspace(-3*pi, 3*pi, 800);
v= pi *exp(-0.25*t) .* cos(pi*t) - 0.25 .* exp(-0.25*t) .* sin(pi*t);
plot(t, v, 'b-', 'Linewidth', 3);
grid on;
xlabel('t', 'FontSize', fontSize);
ylabel('v', 'FontSize', fontSize);

0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!