phaseplot(frq,db,phi) does not work.
Bug description:
phaseplot(frq,db,phi) does not work.
Error log:
-->phaseplot(frq,db,phi)
!--error 41
Incompatible output argument.
at line 46 of function phaseplot called by :
phaseplot(frq,db,phi)
How to reproduce the bug:
s=poly(0,"s");
h=syslin("c",(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01));
h1=h*syslin("c",(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225));
[frq,repf]=repfreq([h;h1],0.01,100);
[phi,db]=phasemag(repf);
phaseplot(frq,db,phi)
Other information: