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 />

Infinity and NaN Functions (Continued)<br />

Function<br />

isfinite<br />

nan<br />

Description<br />

Detect finite elements of an array.<br />

Return the IEEE value for Not a Number.<br />

Type Identification Functions<br />

Function<br />

class<br />

isa<br />

isfloat<br />

isinteger<br />

isnumeric<br />

isreal<br />

whos<br />

Description<br />

Return data type (or class).<br />

Determine if input value is of the specified data type.<br />

Determine if input value is a floating-point array.<br />

Determine if input value is an integer array.<br />

Determine if input value is a numeric array.<br />

Determine if input value is real.<br />

Display the data type of input.<br />

Output Formatting Functions<br />

Function<br />

format<br />

Description<br />

Control display format for output.<br />

2-32

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

Saved successfully!

Ooh no, something went wrong!