MATLAB code for the expression 1*sin(2*pi*14*t) + 7*cos(2*pi*16*t) + 4*cos(2*pi*10*t)

4 次查看(过去 30 天)
I need this question answer for my mid exam

回答(2 个)

Walter Roberson
Walter Roberson 2023-11-5

Image Analyst
Image Analyst 2023-11-5
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started:
Obviously we can't give you the full solution because you're not allowed to turn in our code as your own.
Generic hint:
numPoints = 300;
t = linspace(0, 100, numPoints);
omega = .02;
y = 10 * sin(2 * pi * omega * t);
plot(t, y, 'b-', 'LineWidth', 2);
grid on;
xlabel('t')
ylabel('y')
To learn other fundamental concepts, invest 2 hours of your time here:
  4 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by