Matlab plot command function

7 visualizaciones (últimos 30 días)
Student
Student el 24 de Jun. de 2021
Editada: Image Analyst el 24 de Jun. de 2021
Plot out the function y(t) = A cos(xt + s(t)), where A = 1, x = 2 and s(t) = -2sin(t) over 0 to 40 sec in increments of 0.05 sec. ver

Respuestas (1)

Image Analyst
Image Analyst el 24 de Jun. de 2021
Editada: Image Analyst el 24 de Jun. de 2021
Why? Why me? Why can't you do it just using
t=0:.05:40
and the plot() function?
s = -2 * etc.
y = A * cos(etc.
plot(t, y, 'b-');
Sounds like homework and something simple enough for you to do.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by