blev ju snyggt. testade att leka loss lite, ballade givetvis ur direkt. försöker förstå varför, antar jag flyttade fasen lite väl mycket:
Spoiler!
>> G=1/(s^2+1+s)^4
Transfer function:
1
------------------------------------------------------------------
s^8 + 4 s^7 + 10 s^6 + 16 s^5 + 19 s^4 + 16 s^3 + 10 s^2 + 4 s + 1
>> [F,wc,phim,Ki,MS,MT]=pi_opt(G,0.3*w150,0.5*w150,45,60)
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Transfer function:
0.154 s + 0.2051
----------------
s
wc =
0.2309
phim =
44.9995
Ki =
0
MS =
3.4062
MT =
2.4288
hur mycket kan man flytta fasen innan programmet slutar vara användbart?
testade ^1,2,3 och först vid 3an börjar det bli instabilt
Spoiler!
Transfer function:0.154 s + 0.2051
----------------
s
wc =
0.2309
phim =
44.9995
Ki =
0
MS =
3.4062
MT =
2.4288
>> G=1/((s^2+1+s))
Transfer function:
1
-----------
s^2 + s + 1
>> [F,wc,phim,Ki,MS,MT]=pi_opt(G,0.3*w150,0.5*w150,45,60)
Transfer function:
-0.5061 s + 0.1923
------------------
s
wc =
0.2309
phim =
44.9995
Ki =
0
MS =
3.3428
MT =
2.3461
>> G=1/((s^2+1+s)^2)
Transfer function:
1
-----------------------------
s^4 + 2 s^3 + 3 s^2 + 2 s + 1
>> [F,wc,phim,Ki,MS,MT]=pi_opt(G,0.3*w150,0.5*w150,45,60)
Transfer function:
-0.2869 s + 0.209
-----------------
s
wc =
0.2309
phim =
44.9997
Ki =
0
MS =
2.9502
MT =
1.9963
>> G=1/((s^2+1+s)^3)
Transfer function:
1
---------------------------------------------
s^6 + 3 s^5 + 6 s^4 + 7 s^3 + 6 s^2 + 3 s + 1
>> [F,wc,phim,Ki,MS,MT]=pi_opt(G,0.3*w150,0.5*w150,45,60)
Warning: The H2 norm is infinite because the system is unstable.
> In warning at 26
In ssdata.normh2 at 51
In ltidata.normh2 at 6
In SystemArray>SystemArray.normh2_ at 275
In DynamicSystem.DynamicSystem>DynamicSystem.norm at 611
In pi_opt at 10
Transfer function:
-0.06254 s + 0.2132
-------------------
s
wc =
0.2310
phim =
44.9877
Ki =
0
MS =
2.8741
MT =
1.9355
hmm, mina känslighetsfunktioner blir ju på tok för stora, blir ju inte bra stablitetesmariginaler enligt nyquist. måste vara något mer fel i koden, men allt ser ut som i boken :-/