MATLAB Answers

'nlinfit' vs 'fitnlm' 'ErrorModelInfo'

55 views (last 30 days)
Hi,
the function 'nlinfit' returns the parameters of the estimated error model via 'ErrorModelInfo'. How do I get these values when I use the function 'fitnlm'?
I have already looked at the source code of the class 'NonLinearModel', there the access to the property 'ErrorModelInfo' is defined as 'protected'.
Is there a possibility or do I always have to use 'nlinfit' in addition?
Many thanks and greetings

Accepted Answer

Pratyush Roy
Pratyush Roy on 2 Feb 2021
Hi,
There is currently no support for the ErrorModelInfo feature in fitnlm function. I have brought this issue to the concerned people and it might be considered in any future release.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!