MATLAB - 2D Plotting
Identify the error in the following MATLAB code:
plot(1:10, rand(1,10));
axis([0 10]);
plot(1:10, rand(1,10));
axis([0 10]);
axis expects four values: [xmin xmax ymin ymax]. Here only two values are given.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions