Matlab graphics enables 2D and 3D data visualization and animation. Line plots show relationships between two quantities. Distribution plots display data point frequencies and trends. Discrete data can be plotted using bar, scatter, stem, or stairstep plots
Absolute value shows distance from 0 on number line. Absolute values are never negative. For vectors, absolute value equals magnitude. For complex numbers, absolute value is distance from origin
Plots help visualize data without prior knowledge. Markers highlight important points in line graphs. Plot function uses name-value pairs for marker properties
Matlab script is a sequence of commands executed like a program. Scripts are created using 'edit' command. Variables created in scripts remain accessible until cleared or session ends. Scripts must be saved with '.m' extension
Symbolic numbers use exact rational representation unlike floating-point numbers. Symbolic numbers can be created using sym function. Complex numbers can be created using 1i, 2i, etc. Large numbers can be represented exactly using quotes
xcorr(x,y) returns cross-correlation of two discrete-time sequences. xcorr(x) computes autocorrelation of a single vector. Function appends zeros to shorter vectors when lengths differ