tic and toc matlab code example Example: tic toc commands tic #start time counting toc #display time elapsed since last tic