Documente Academic
Documente Profesional
Documente Cultură
Introduction
For each command, try help <command> or doc <command> to get more information.
4 Plots
plot ( x,y) hold (on) semilogx loglog imagesc imshow plot3 surf - Plot y vs. x . - Keep (discard) current graph. - Plot with logarithmic x-axis. - Plot with logarithmic axes. - Scale and display an image. - Display an image. - Three-dimensional plot. - Surface plot.
5 Control system
tf series feedback pzmap rlocus bode impulse step freqresp - Define a transfer function. - Cascade systems. - Create feedback system. - Pole-zero map. - Root lo cus diagram. - Bode diagram. - Impulse response. - Step response. - Evaluate frequency response. see doc control for more.
6 Image operations
imread imwrite graythres im2bw bwareaopen imdilate imerode strel edge conv2 filt2 medfilt2 - Open an image file. - Write an image file. - Find a gray level for thresholding. - Convert an grayscale image to binary. - Remove small objects in binary image. - Apply image dilation. - Apply image erosion. - Define a structuring element for morphology operations. - Edge detection. - 2D convolution. - 2D filtering. - Median filter.
3 Matrices - operations
Size (A) numel (A) det(A) inv(A) Pinv (A) trace(A) eig(A) expm(A) ) - Size of A . . - Number of elements of A - Determinant of A . - Inverse of A . - Pseudo-inverse of A (equal to inv( A) if A is invertible). - Trace of A (Sum of diagonal elements)
- Eigen-values of A . - Matrix exponential of A . reshape(A,[p q]) - Reshape matrix A to p-by- q (Number of elements should match). A(:) - Single column version of . A 1