From idpoly to ss : why, with the ss command, do i not get always the same state space convention ?
3 次查看(过去 30 天)
显示 更早的评论
Hello,
From CFD simulations, I perform system identification. I get a model which link my output y to my input u. It is an idpoly, variable z (time discrete). So the idpoly.B matrix contains all the coefficients of my unit impulse response.
From that, I want to transform it to state space representation. Straight forward with the command ss. But, for one transfer function, there is not a unique state space description.
Most of the time I get this state space with , and C and D having the coefficients of my Unit Impulse Response (U.I.R), so and
But sometimes, Matlab will give me a different convention ; A doesn't change but , alpha being an integer different from 1, and therefore C changes accordingly .
I agree that this is just a matter of convention of your state vector, that the state space describes the exact same system. But in my application, I need to be sure that the C matrix contains exactly the coefficients of my U.I.R and not scaled by this alpha factor.
I did not find any options in the ss command to force that.
I could do it manually with a if loop. But i was wondering, why is Matlab sometimes changing these B&C matrices ? Is there a way to make the ss command give always the same result?
Thanks in advance
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computational Fluid Dynamics (CFD) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!