Question

To plot a figure of a function y=f(t) in an interval a and b in MATLAB, one should find n-1 points of t between a and b and t

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The Matlab Code and the corresponding figure is as follows:

MATLAB CODE:

t = 0:0.001:1 ;
y= (2*cos((8*t)-(pi/4)))+1 ;
figure
plot(t,y)

FIGURE:

Cosine Function Waveform Y: 3 Cosine Wave Amplitude 0.1 0.2 0.3 0.4 0.6 0.7 0.8 0.9 0.5 Time (s)

Add a comment
Know the answer?
Add Answer to:
To plot a figure of a function y=f(t) in an interval a and b in MATLAB,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT