1 2 3 4 5 6 7 8 9 10 11 12 13
| g1=[W*squeeze(freqresp(G(1,1),wt));W*squeeze(freqresp(G(1,2),wt));...
W*squeeze(freqresp(G(1,1)*s,wt));W*squeeze(freqresp(G(1,2)*s,wt));...
W*squeeze(freqresp(G(1,1)*s^2,wt));W*squeeze(freqresp(G(1,2)*s^2,wt))];
g2=[W*squeeze(freqresp(G(2,1),wt));W*squeeze(freqresp(G(2,2),wt));...
W*squeeze(freqresp(G(2,1)*s,wt));W*squeeze(freqresp(G(2,2)*s,wt));...
W*squeeze(freqresp(G(2,1)*s^2,wt));W*squeeze(freqresp(G(2,2)*s^2,wt))];
a1=real(g1);
b1=imag(g1);
A1=a1*transpose(a1)+b1*transpose(b1);
a2=real(g2);
b2=imag(g2);
A2=a2*transpose(a2)+b2*transpose(b2); |
Partager