help on entering velocity formula

1 次查看(过去 30 天)
How would I enter "v= πe^(-0.25t) cos(πt)-0.25e^(-0.25t) sin(πt)" into my script ?

采纳的回答

Image Analyst
Image Analyst 2014-9-20
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 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by