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
1 个评论
Dyuman Joshi
2023-11-5
"I need this question answer for my mid exam"
So you are asking us to help you cheat?
回答(2 个)
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
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.
Dyuman Joshi
2023-11-5
编辑:Dyuman Joshi
2023-11-5
Yes, I have 7 quick replies ready to go, which I use often.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!