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
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