Matlab plot command function

조회 수: 3 (최근 30일)
Student
Student 2021년 6월 24일
편집: Image Analyst 2021년 6월 24일
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

답변 (1개)

Image Analyst
Image Analyst 2021년 6월 24일
편집: Image Analyst 2021년 6월 24일
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.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by