MATLAB: A function that outputs multiple plots

MATLAB

Best Answer

function plotoutput()
x = 1:10;
y = x.*x;
plot(x,y)
when you call the function, it shows a figure.
Related Question