fft - yy=abs(fft(y/N subplot(2,1,1 plot(t,y subplot(2,1,2...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 clear all close all clc t=-1:0.01:1 f1=3 f2=4 N=length(t) F=10 f=-(F-1/N)/2:F/N:(F-1/N)/2 y=cos(2*pi*f1*t)+cos(2*pi*f2*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: yy=abs(fft(y)./N) subplot(2,1,1) plot(t,y) subplot(2,1,2) plot(f,yy)...
View Full Document

This note was uploaded on 12/04/2009 for the course ECE 369 taught by Professor Aj during the Spring '09 term at A.T. Still University.

Ask a homework question - tutors are online