title in matlab with variable code example
Example 1: matlab title figure
figure(1);
plot(x,y);
title('myTitle');
Example 2: matlab parameter in title
str = sprintf('just an example of %d that isnt working', variable)
title(str)
figure(1);
plot(x,y);
title('myTitle');
str = sprintf('just an example of %d that isnt working', variable)
title(str)