Question: MATLAB pls Create a script that will show these on separate graphs in ONE figure side by side and then in another figure one above

MATLAB pls

Create a script that will show these on separate graphs in ONE figure side by side and then in another figure one above the other. Thanks!

x = 0:.01:2; y = humps(x); plot(x,y) xlabel('x') ylabel('humps(x)') grid on hold on x = 0:.01:2; y = -1*humps(x); plot(x,y) xlabel('x') ylabel('humps(x)') grid on axis([0 2 -100 100])

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!