I design all of this filter but i can't understand how to make filter cascading 10 section.
out teacher said you can conv the transfer function 10 time but it didn't work. any idea?
%% low-pass IIR cascade K = 10 and compare with first-order low pass
clc; clear all; close all;w = 0:pi/255:pi;% For Tenth-Order Low-Pass IIR | Transfer Function
num1 = [1 1];den1 = [1 0.31];y = (num1) / (den1) ;for i=1:9 y = conv (y,y)endh1 = freqz(y, 1, w);g1 = 20*log10(abs(h1));% PLOT CODE For Tenth-Order
figure (2);plot(w/pi,g1);grid minor; axis ([0 1 -100 5]);xlabel("\omega /\pi");ylabel("Gain in dB");title("LOW-PASS Cascade K=10 IIR Filter");
i had problem in conv part that its result is incorrect.
Best Answer