MATLAB code for the expression 1*sin(2*pi*14*t) + 7*cos(2*pi*16*t) + 4*cos(2*pi*10*t)
5 views (last 30 days)
Show older comments
This question was flagged by Dyuman Joshi
I need this question answer for my mid exam
1 Comment
Dyuman Joshi
on 5 Nov 2023
"I need this question answer for my mid exam"
So you are asking us to help you cheat?
Answers (2)
Image Analyst
on 5 Nov 2023
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 Comments
Image Analyst
on 5 Nov 2023
@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
on 5 Nov 2023
Edited: Dyuman Joshi
on 5 Nov 2023
Yes, I have 7 quick replies ready to go, which I use often.
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!