tic
Start timing.
tic()

Description
A call to toc subsequent to this call returns the time elapsed, in seconds, between the two calls.
Example
>> // The time taken for the eigenvalue decomposition of a 100X100 matrix
>>a=rand(100,100);
>>tic;[c,d]=eig(a);toc
       0.4380