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

5 次查看(过去 30 天)
此 个问题 已被 Dyuman Joshi 标记
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:
  3 个评论
Image Analyst
Image Analyst 2023-11-5
@Dyuman Joshi That was just boilerplate reply inserted from my list of "Quick replies" and I didn't take the time to customize it. Have you tried the quick replies yet? I use them a lot.

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by