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.

Summary of Matrix and Array Functions<br />

Functions That Work on Diagonals of a Matrix (Continued)<br />

Function<br />

tril<br />

triu<br />

Description<br />

Return the lower triangular part of a matrix.<br />

Return the upper triangular part of a matrix.<br />

Functions to Change the Indexing Style<br />

Function<br />

ind2sub<br />

sub2ind<br />

Description<br />

Convert a linear index to a row-column index.<br />

Convert a row-column index to a linear index.<br />

Functions for Working with Multidimensional Arrays<br />

Function<br />

cat<br />

circshift<br />

ipermute<br />

ndgrid<br />

ndims<br />

permute<br />

shiftdim<br />

squeeze<br />

Description<br />

Concatenate arrays.<br />

Shift array circularly.<br />

Inverse permute array dimensions.<br />

Generate arrays for n-dimensional functions and<br />

interpolation.<br />

Return the number of array dimensions.<br />

Permute array dimensions.<br />

Shift array dimensions.<br />

Remove singleton dimensions.<br />

1-75

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

Saved successfully!

Ooh no, something went wrong!