I want to save multiple figures to the same folder, with the name of figure_1, figure_2, etc.
Here is the code: x = 1:5;
y = [1,1,1,1,1]z = [2,2,2,2,2]a = [3,3,3,3,3]b = [4,4,4,4,4]c = [5,5,5,5,5]figure;plot(x,y)figure;plot(x,z)figure;plot(x,a)figure;plot(x,b)figure;plot(x,c)
Best Answer