matlab title depending on variable value code example
Example: matlab parameter in title
str = sprintf('just an example of %d that isnt working', variable)
title(str)
str = sprintf('just an example of %d that isnt working', variable)
title(str)