Why is the estimated response from function 'n4sid' different than that from the 'System Identification' app in R2022b?
Show older comments
I am using the System Identification Toolbox in MATLAB release R2022b to estimate a model for my data. I am using the function 'n4sid' as follows:
>> sysest = n4sid( measuredData , 2);
where 'measuredData' is a data object created by function 'iddata', and contains no input.
When I compare the response of the estimated model 'sysest' with the measured data using function 'compare', I get the following plot:
>> compare(measuredData,sysest);

However, when I use the 'System Identification' app and load it with the same data object 'measuredData', I get the following graph as 'Model output':

The app says it is using 'n4sid' in the model estimation, but the app's result does not match with the result of my own call to 'n4sid'.
Why am I getting different results?
Accepted Answer
More Answers (0)
Categories
Find more on State-Space Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!