Matlab: A Brief Tutorial Signals & Systems Instructor: Dr. Sameti
Matlab: A Brief Tutorial Signals & Systems Instructor: Dr. Sameti
a brief tutorial Signals & Systems Instructor: Dr. Sameti Created by: Saeed Mirzamohamadi Ali Fakhrzadegan
Matrix basics
Definition:
A = [ 1 2 3; 4 5 6 ]
Matrix
operators
./ .^
Matrix basics
Sequences
1:3 = [ 1 2 3 ] 5:-2:1 = [ 5 3 1 ]
A=[1234] A( 1:3 ) = [ 1 2 3 ] A( 2:end ) = [ 2 3 4 ] A( end ) = 4
Selectors
Matrix basics
N-Dimensional
Matrix basics
Concatenation
A = [ 1 2 3 ] and B = [ 4 5 6 ]
[
A;B ] = [ 1 2 3; 4 5 6 ] [ A, B ] = [ 1 2 3 4 5 6 ]
Find
matrix values
Matrix basics
Functions
2 ) = [ 1 0; 0 1 ]
Reshape
Transpose
Statistical
xy Equations
fft ifft
fft2 ifft2
2-Dimensional
Complex
operations
extract imaginary/real part of the number
imag, real