How to use matlab's filter function to compute samples of the impulse response of a filter? -
i have following code far:
[b,a] = ellip(4,.2,40,[.41 .47]); //elliptical filter [h,w] = freqz(b,a,4096); i need figure out how compute 4096 samples of impulse response of filter. can't figure out how. thanks.
you have b , a, can filter impulse impulse response:
imp = [1, zeros(1, 4095)] h = filter(b, a, imp); for example, plot(h) should yield this:

Comments
Post a Comment