How do you plot a function?
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How would you plot x(t)=[12+7sin(
t-(1/3*pi)]*cos(13pit)
0 Kommentare
Antworten (2)
Hernia Baby
am 17 Sep. 2021
Bearbeitet: Hernia Baby
am 18 Sep. 2021
syms t;
x = (12 + 7*sin(pi*t - (1/3)*pi) )*cos(13*pi*t)
fplot(t,x)
0 Kommentare
Image Analyst
am 17 Sep. 2021
Try this:
t = linspace(-pi, pi, 1000);
xt = (12 + 7 * sin(pi * t - (1/3 * pi))) .* cos(13 * pi * t);
plot(t, xt, 'b-', 'LineWidth', 2);
grid on;
xlabel('t', 'FontSize', 20);
ylabel('x(t)', 'FontSize', 20);

0 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots 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!
