TIC

Purpose:

Starts the interval timer.

Syntax:

TIC

Returns:

Nothing, the interval timer is started.

Example:

tic;fft(w1);b=toc;

sprintf("FFT execution time %g seconds", b);

 

prints the approximate time required to calculate and display the FFT of W1.

Example:

W1: gnorm(1024*32, 1)

W2: tic;fft(w1);label(strnum(toc))

 

W2 is labeled with the approximate time to calculate the FFT of W1.

See Also:

CLOCK

GETTIME

TOC