matlab - variable in plot title -
i want do
for = 1 : size(n, 2) figure(i); title('n = %d', i); %other stuff but setting title doesn't work. why?
because forgot add sprintf
for = 1 : size(n, 2) figure(i); title(sprintf('n = %i', i)); %# %i integer %other stuff end
Comments
Post a Comment