with linear scales for both axes β plot3: Graph 3-D data with linear scales for both axes β loglog: Graph with logarithmic scales for both axes β semilogx: Graph with a logarithmic scale for the x-axis and a linear scale for the y-axis β semilogy: Graph with a logarithmic scale for the y-axis and a linear scale for the x-axis β plotyy: Graph with y-tick labels on the left and right side β’ XY Plot example β x = 0:0.05:5; β y = sin(x.^2); β plot(x,y); β xlabel('Time') β ylabel('Amplitude') Fig 1. XY Plot
the data sequence, Y, as stems that extend from a baseline along the x-axis. The data values are indicated by circles terminating each stem. β’ Example β x = 0:0.1:4; β y = sin(x.^2).*exp(-x); β stem(x,y) Fig 3. Stem Chart
by the vectors X and Y. This type of graph is also known as a bubble plot. β’ Example β load count.dat β scatter(count(:,1),count(:,2),'r*') β xlabel('Number of Cars on Street A'); β ylabel('Number of Cars on Street B'); Fig 4. Scatter Plot
them in a Cartesian plane, and draws the polar grid on the plane. β’ Example β t = 0:0.01:2*pi; β polar(t,abs(sin(2*t).*cos(2*t))); Fig 5. Polar Plot
determined by Z, so color is proportional to surface height. β z=peaks(25); β mesh(z); β’ surf(Z) creates a three-dimensional shaded surface from the z omponents in matrix Z. β z=peaks(25); β surf(z); β’ ezsurf() β’ ezmesh() Fig 8. Mesh Plot
A common use of Fourier transforms is to find the frequency components of a signal buried in a noisy time domain signal. β’ http://www.mathworks.com/help /matlab/ref/fft.html β’ https://www.youtube.com/watch ?v=Ko57FiBVkVY Fig 15. FFT from the Oscilloscope Fig 17. FFT Analyze using MATLAB Fig 16. Import CSV File into MATLAB