How to estimate time-varying state space in Matlab?

3 vues (au cours des 30 derniers jours)
Arash
Arash le 15 Fév 2023
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 ?

Réponses (1)

Sanjana
Sanjana le 1 Mar 2023
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!

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by