You can do this with the `num2str`-function. To display time in the title use for example:
> title(['running time ' num2str(time) 's'])
You can do this with the `num2str`-function. To display time in the title use for example:
> title(['running time ' num2str(time) 's'])