Please Answer My Question
Show older comments
Create a figure divided into four subplots. Sine(x), cosine(x), 𝑒−𝑥 and 𝑥3. Where x is vector from 0 to 2*pi, increasing by 0.1 The output should be:
4 Comments
Walter Roberson
on 20 Apr 2021
When you ask a question, we will try to answer it. However you have not asked a question.
mohammed khaled
on 20 Apr 2021
mohammed khaled
on 20 Apr 2021
Edited: per isakson
on 20 Apr 2021
Walter Roberson
on 20 Apr 2021
"I want a solution for this" is not a question.
Hint: subplot()
Answers (1)
x=0:0.1:2*pi;
subplot(2,2,1); plot(x,sin(x));
subplot(2,2,2); plot(x,cos(x));
subplot(2,2,3); plot(x,exp(-x));
subplot(2,2,4); plot(x,x.^3);
Categories
Find more on Title in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
