{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ex12_8 - xlabel'Time(sec ylabel'y(t pause send through the...

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

View Full Document Right Arrow Icon
% Example 12.8 % % send through a lowpass filter numd = [0.0309 0.0619 0.0309]; % define digital filter dend = [1 -1.444 0.582]; n = 0:150; x = rand(1,length(n)); % sampled input, x[n] % note: each time that you run this program within % a session, x will change so the plots will be different y = filter(numd,dend,x); clf %clears figure subplot(211), plot(n*T,x); % input signal, x(t) xlabel('Time (sec)') ylabel('x(t)') title('Figure 12.11') subplot(212),plot(n*T,y); % output of ideal reconstructor, y(t)
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: xlabel('Time (sec)') ylabel('y(t)') pause % % send through the highpass filter % numd = [0.5697 -1.1394 0.5697]; % define the digital filter dend = [1 -1.516 0.7028]; y = filter(numd,dend,x); subplot(211),plot(n*T,x); % input to system, x(t) xlabel('Time (sec)') ylabel('x(t)') title('Figure 12.12') subplot(212),plot(T*n,y); % output of ideal reconstructor, y(t) xlabel('Time (sec)') ylabel('y(t)') subplot(111)...
View Full Document

  • Fall '09
  • MaryRandolph-Gips
  • High-pass filter, Band-pass filter, Low-pass filter, define digital filter, digital filter dend, lowpass filter numd

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern