This preview shows page 1. Sign up to view the full content.
Unformatted text preview: p ffft = figure('Position', [-1000 300 512 384]); plot(dw, abs(V)); p keyboard; k for dSamplingRate = 100:-2.5:5; dResolution = 2*pi / dSamplingRate; [t] = GenerateTimePoints(dMinTime, dMaxTime, dResolution); dW = 20; v = 2*cos(dW*t); vreal = 2*cos(dW*treal); V = fftshift(fft(v)); dw = ((1:length(V))-1-0.5*(length(V)-1))/sqrt(pi); figure(fgraph); plot(treal, vreal), hold on, plot(t, v, 'r'), hold off; figure(ffft); plot(dw, abs(V)); drawnow; end...
View Full Document
This note was uploaded on 02/17/2010 for the course BIEN 130 taught by Professor Park during the Spring '10 term at UC Riverside.
- Spring '10