Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Matlab DSP | sampling freq for combined filter

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

sampling freq for combined filter - egan_nc - Aug 5 20:34:00 2003



Hi,
Can anybody please tell me how to set up the sampling freq for a
combined filters.
The sampling freq for the input signal to the first filter h1 is
1.5Mhz, the output of the first filter is then downsampled to 96khz
and feed into the second filter h2. h12 is the convolution of
h1*h2. To plot the freq response of h12 with freqz, what is the
sampling freq to use?
freqz(h12,1,2048,'whole','fs?????')
Thank you,
EngGan





(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

RE: sampling freq for combined filter - Glen Ragan - Aug 5 21:01:00 2003

You cannot convolve the two filters because their input rates are not
equal. You can:
1. Multiply the real-frequency responses together, H12(f) = H1(f)*H2(f)
= H1(w*1.5e6/2/pi)*H2(w*96e3/2/pi); or
2. Upsample h2 (the time-domain impulse response) from 96kHz to 1.5MHz,
then convolve h12 = conv(h1,h2), then use freqz with 1.5MHz as the
sample rate.

For #1, f is the actual hertz, and w is the "digital angular frequency",
i.e., w at Nyquist = pi.

Sincerely,
Glen Ragan

-----Original Message-----
From: egan_nc [mailto:]
Sent: Tuesday, August 05, 2003 3:34 PM
To:
Subject: [matlab] sampling freq for combined filter Hi,
Can anybody please tell me how to set up the sampling freq for a
combined filters.
The sampling freq for the input signal to the first filter h1 is
1.5Mhz, the output of the first filter is then downsampled to 96khz
and feed into the second filter h2. h12 is the convolution of
h1*h2. To plot the freq response of h12 with freqz, what is the
sampling freq to use?
freqz(h12,1,2048,'whole','fs?????')
Thank you,
EngGan

Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=1705
083376:HM/A=1693353/R=0/SIG=11t71ok4g/*http://www.netflix.com/Default?mq
so=60178294&partid=3170658> click here

<http://us.adserver.yahoo.com/l?M=251812.3170658.4537139.1261774/D=egrou
pmail/S=:HM/A=1693353/rand=884230221>

_____________________________________
/groups.php3

> .





(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )