23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Data Types<br />

Utility Functions (Continued)<br />

Function<br />

eomday<br />

weekday<br />

Description<br />

Return the last day of a year and month.<br />

Return the current day of the week.<br />

Timing Measurement Functions<br />

Function<br />

cputime<br />

etime<br />

tic, toc<br />

Description<br />

Return the total CPU time used by <strong>MATLAB</strong> since it<br />

was started.<br />

Return the time elapsed between two date vectors.<br />

Measure the time elapsed between invoking tic and toc.<br />

2-74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!