Matlab Quick Reference Page 4

ADVERTISEMENT

Structure Functions
Replicate and tile an array
Single index from subscripts
repmat
sub2ind
Reshape array
Field names of a structure
reshape
fieldnames
Sound Processing Functions
Rotate matrix 90 degrees
Get field of structure array
rot90
getfield
Lower triangular part of a matrix
Remove structure fields
tril
rmfield
General Sound Functions
Upper triangular part of a matrix
triu
Set field of structure array
setfield
Convert linear audio signal to mu-law
lin2mu
: (colon)
Index into array, rearrange array
struct
Create structure array
Convert mu-law audio signal to linear
mu2lin
Structure to cell array conversion
struct2cell
Convert vector into sound
sound
Vector Functions
Scale data and play as sound
soundsc
MATLAB Object Functions
Vector cross product
cross
Create object or return class of object
class
Vector dot product
dot
SPARCstation-Specific Sound Functions
Detect an object of a given class
isa
Set intersection of two vectors
intersect
Display method names
Read NeXT/SUN (.au) sound file
methods
auread
Detect members of a set
ismember
Displays information on all methods implemented by
Write NeXT/SUN (.au) sound file
auwrite
methodsview
Return the set difference of two vector
a class
setdiff
Set exclusive or of two vectors
setxor
Overloaded method for A(I)=B, A{I}=B, and
subsasgn
A.field=B
.WAV Sound Functions
Set union of two vectors
union
Overloaded method for X(A)
subsindex
Unique elements of a vector
Play recorded sound on a PC-based audio output device
unique
wavplay
subsref
Overloaded method for A(I), A{I} and A.field
Read Microsoft WAVE (.wav) sound file
wavread
Specialized Matrices
Record sound using a PC-based audio input device
wavrecord
Cell Array Functions
Companion matrix
Write Microsoft WAVE (.wav) sound file
compan
wavwrite
Create cell array
cell
Test matrices
gallery
Apply a function to each element in a cell array
cellfun
File I/O Functions
hadamard
Hadamard matrix
Create cell array of strings from character array
cellstr
Hankel matrix
hankel
File Opening and Closing
Cell array to structure array conversion
cell2struct
Hilbert matrix
hilb
Close one or more open files
fclose
Display cell array contents
celldisp
Inverse of the Hilbert matrix
invhilb
Open a file or obtain information about open files
fopen
Graphically display the structure of cell arrays
cellplot
Magic square
magic
Convert a numeric array into a cell array
num2cell
Pascal matrix
pascal
Unformatted I/O
Toeplitz matrix
toeplitz
Multidimensional Array Functions
Wilkinson’s eigenvalue test matrix
wilkinson
Read binary data from file
fread
Concatenate arrays
cat
Write binary data to a file
fwrite
flipdim
Flip array along a specified dimension
Bitwise Functions
Subscripts from linear index
ind2sub
Bit-wise AND
bitand
Formatted I/O
Inverse permute the dimensions of a multidimensional
Complement bits
bitcmp
ipermute
array
Return the next line of a file as a string without line terminator(s)
fgetl
Bit-wise OR
bitor
Generate arrays for multidimensional functions and
Return the next line of a file as a string with line terminator(s)
ndgrid
fgets
Maximum floating-point integer
bitmax
interpolation
Write formatted data to file
fprintf
Set bit
bitset
Number of array dimensions
ndims
Read formatted data from file
fscanf
Bit-wise shift
bitshift
Rearrange the dimensions of a multidimensional array
permute
Get bit
Reshape array
bitget
reshape
Bit-wise XOR
bitxor
Shift dimensions
File Positioning
shiftdim
Remove singleton dimensions
squeeze
Test for end-of-file
feof

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education