23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Numeric Types<br />

Floating-Point Functions (Continued)<br />

Function<br />

realmax<br />

realmin<br />

Description<br />

Return the largest floating-point number your computer<br />

can represent.<br />

Return the smallest floating-point number your<br />

computer can represent.<br />

Complex Number Functions<br />

Function<br />

complex<br />

i or j<br />

real<br />

imag<br />

isreal<br />

Description<br />

Construct complex data from real and imaginary<br />

components.<br />

Return the imaginary unit used in constructing complex<br />

data.<br />

Return the real part of a complex number.<br />

Return the imaginary part of a complex number.<br />

Determine if a number is real or imaginary.<br />

Infinity and NaN Functions<br />

Function<br />

inf<br />

isnan<br />

isinf<br />

Description<br />

Return the IEEE value for infinity.<br />

Detect NaN elements of an array.<br />

Detect infinite elements of an array.<br />

2-31

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

Saved successfully!

Ooh no, something went wrong!