Please Answer My Question
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2021 年 4 月 20 日
"I want a solution for this" is not a question.
Hint: subplot()
回答 (1 件)
Carlos Guerrero García
2022 年 11 月 13 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!