𝑦 = 2𝑐𝑜𝑠3𝑥

10 visualizzazioni (ultimi 30 giorni)
qwe asd
qwe asd il 16 Mag 2021
Risposto: Image Analyst il 16 Mag 2021
How I do a graph of 𝑦 = 2𝑐𝑜𝑠3𝑥 ?

Risposte (2)

Image Analyst
Image Analyst il 16 Mag 2021
numPoints = 1000;
x = linspace(-3*pi, 3 * pi, numPoints);
y = 2 * cos(3 * x);
plot(x, y, 'b-', 'LineWidth', 2);
grid on;
xlabel('x', 'FontSize', 18);
ylabel('y', 'FontSize', 18);

Alan Stevens
Alan Stevens il 16 Mag 2021

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by