Initial condition estimation using tfest
6 views (last 30 days)
Maryam Abdollahi on 4 Mar 2021
I am trying to find initial condition information using tfest estimation. However, once I use "[sys_tf,ic] = tfest(data,np,nz);" I will get the error:
Error using tfest
Too many output arguments.
The given example in https://www.mathworks.com/help/ident/ug/apply-initial-conditions-when-simulating-identified-LTI-Models.html cannot be run either.
I cannot find the problem. I appreciate if anyone can help.
Sindhu Karri on 9 Mar 2021
Edited: Sindhu Karri on 10 Mar 2021
The output parameter for tfest function is sys till R202a and from R202b it has sys and ic as its output parameters.This difference in output arguments is causing the error. To fix it , upgrade to MATLAB latest version. Refer to below link to upgrade MATLAB
Refer to below help document links of tfest function in R2020a and R2020b versions for better understanding