[mag,phase,w] = bode(sys);
for i=1:4
for k=1:43
y(i,k)=mag(1,i,k);
end
end
magdb1= 20*log10(y(1,:));
magdb2= 20*log10(y(2,:));
magdb3= 20*log10(y(3,:));
magdb4= 20*log10(y(4,:));
hold on;
plot(w,20*log10(magdb1))
hold on;
plot(w,20*log10(magdb2))
hold on;
plot(w,20*log10(magdb3))
hold on;
plot(w,20*log10(magdb4))