How to estimate time-varying state space in Matlab?

1 次查看(过去 30 天)
Actually, I have input and output data which by using iddata commend I made a data include input, output and sample time but when I apply them for estimating state space in continuse time domain it gives an error like this:There are too many parameters to estimate for chosen estimation data size. Reduce model order or use a larger data set. and when I reduce model order to zero but it gives an error : NaN and Inf not allowed.
I would appreicate it if someone could guide me how to estimate state space ?

回答(1 个)

Sanjana
Sanjana 2023-3-1
Hi,
I understand that you need guidance with estimating state space. I see that you have created "iddata"object from input, output and sample time details of the data, and in order to estimate State-Space Models at the Command Line, you can use
  • ‘n4sid’ function – it supports both time-domain and frequency-domain data, uses noniterative subspace method for estimating linear space models
  • ‘ssest’ function- supports both time and frequency domain data, uses Iterative method that uses prediction error minimization algorithm.
For more information on the above functions, refer to the below documentation link
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Linear Model Identification 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by