Script1 - v V = fftshift(fft(v)); dw =

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
close all; clear all; clc; scrsz = get(0, 'ScreenSize'); s dMinTime = -1; dMaxTime = 10; dSamplingRate = 100000; d dResolution = 2*pi / dSamplingRate; [t] = GenerateTimePoints(dMinTime, dMaxTime, dResolution); [ % v = 2*cos(10*t); v = 2*cos(100*t) + 4*cos(150*t);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: v V = fftshift(fft(v)); dw = ((1:length(V))-1-0.5*(length(V)-1))/sqrt(pi); d fgraph = figure('Position', [-1000 300 512 384]); plot(t, v); p ffft = figure('Position', [-1000 300 512 384]); plot(dw, abs(V));...
View Full Document

Ask a homework question - tutors are online