Please Answer My Question
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 20 Apr. 2021
"I want a solution for this" is not a question.
Hint: subplot()
Antworten (1)
Carlos Guerrero García
am 13 Nov. 2022
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);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Subplots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!