2011-04-12 20 views

Respuesta

10

porque se le olvidó añadir sprintf

for i = 1 : size(N, 2) 
figure(i); 
title(sprintf('N = %i', i)); %# %i for integer 
%other stuff 
end 
7

num2str también deberían funciona.

title(['N = ',num2str(i)]); 
Cuestiones relacionadas