matlab subplot,mathematical operation
Show older comments
With the subplot function to draw more than one graph in the same graph window -10<x<10 for all integers in range;

Write the commands that will draw the graphs of the functions on the screen.
6 Comments
madhan ravi
on 31 Aug 2020
What did you try for your homework?
Mehmet ali Karatas
on 31 Aug 2020
madhan ravi
on 31 Aug 2020
Start with MATLAB On-ramp course.
Mehmet ali Karatas
on 31 Aug 2020
VBBV
on 1 Sep 2020
clearvars close all
X = -10:1:10; Y1 = X+2; Y2 = X.^2; Y3 = X.^3; Y4 = real(sqrt(X));
subplot(221) plot(X,Y1,'b'); subplot(222) plot(X,Y2,'b');
subplot(223) plot(X,Y3,'b'); subplot(224) plot(X,Y4,'b');
Answers (0)
Categories
Find more on Multirate Signal Processing 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!