23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

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.

1 <strong>Function</strong>s By Category<br />

1-14<br />

Discrete Math (e.g., Prime Factors)<br />

factor Prime factors<br />

factorial Factorial function<br />

gcd Greatest common divisor<br />

isprime True for prime numbers<br />

lcm Least common multiple<br />

nchoosek All combinations of N elements taken K at a time<br />

perms All possible permutations<br />

primes Generate list of prime numbers<br />

rat, rats Rational fraction approximation<br />

Data Analysis and Fourier Transforms<br />

• “Basic Operations”<br />

• “Finite Differences”<br />

• “Correlation”<br />

• “Filtering and Convolution”<br />

• “Fourier Transforms”<br />

Basic Operations<br />

cumprod Cumulative product<br />

cumsum Cumulative sum<br />

cumtrapz Cumulative trapezoidal numerical integration<br />

max Maximum elements of array<br />

mean Average or mean value of arrays<br />

median Median value of arrays<br />

min Minimum elements of array<br />

prod Product of array elements<br />

sort Sort elements in ascending order<br />

sortrows Sort rows in ascending order<br />

std Standard deviation<br />

sum Sum of array elements<br />

trapz Trapezoidal numerical integration<br />

var Variance<br />

Finite Differences<br />

del2 Discrete Laplacian<br />

diff Differences and approximate derivatives<br />

gradient Numerical gradient

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

Saved successfully!

Ooh no, something went wrong!