Question

MATLAB please make it simple as possible P4.1.9 Write a script that displays in a single...

MATLAB please make it simple as possible

P4.1.9 Write a script that displays in a single figure window a plot of the functions x, x2, x3, x4,

and x5 across the interval [0, 1].

0 0
Add a comment Improve this question Transcribed image text
Answer #1
x = 0:0.01:1;
plot(x, x, 'r', x, x.^2, 'g', x, x.^3, 'b', x, x.^4, 'c', x, x.^5, 'm')
xlabel('x')
legend('x', 'x^2', 'x^3', 'x^4', 'x^5')
Add a comment
Know the answer?
Add Answer to:
MATLAB please make it simple as possible P4.1.9 Write a script that displays in a single...
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