𝑦 = 2𝑐𝑜𝑠3𝑥

5 visualizaciones (últimos 30 días)
qwe asd
qwe asd el 16 de Mayo de 2021
Respondida: Image Analyst el 16 de Mayo de 2021
How I do a graph of 𝑦 = 2𝑐𝑜𝑠3𝑥 ?

Respuestas (2)

Image Analyst
Image Analyst el 16 de Mayo de 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 el 16 de Mayo de 2021
help plot

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by