get time in matlab code example
Example: matlab measure time
tic %starts a stopwatch
A = rand(12000,4400);
B = rand(12000,4400);
toc %Calculates and displays elapsed time from tic in seconds
tic %starts a stopwatch
A = rand(12000,4400);
B = rand(12000,4400);
toc %Calculates and displays elapsed time from tic in seconds