Course Project 102

Course Project 102 - Task 3 >> time=...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Astha Kalia 803791434 11/30/2011 EE 102 Course Project Task 1 >> ds = d(16000+1:16000+2560); >> Ds=fft(ds); >> f= [0:0.1:256-0.1]; >> plot(f, abs(Ds)); >> xlabel('Frequency'); >> ylabel('Amplitude'); Task 2 >> t= [1:length(d)]/256000; >> demod= d.*exp(-1*j*47000*2*pi*t); >> dmods= demod(16000+1:16000+2560); >> Dmod=fft(dmods);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
>> plot(f, abs(Dmod)); >> xlabel('Frequency'); _____________________________________________________________________________ ________
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Task 3 >> time= [-100:100]/256000; >> transfer= sinc(10000*time); >> y= conv(demod, transfer); >> ymods= y(16000+1:16000+2560); >> lowpass=fft(ymods); >> plot(f, abs(lowpass)); >> xlabel('Frequency'); Warning: Imaginary parts of complex X and/or Y arguments ignored _____________________________________________________________________________ ________ Task 4 >> ys= y(1:32:end)/max(abs(y)); Task 5 >> sound(abs(ys));...
View Full Document

This note was uploaded on 03/30/2012 for the course ELEC ENGR 102 taught by Professor Lee during the Fall '11 term at UCLA.

Page1 / 3

Course Project 102 - Task 3 >> time=...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online