non-linear regression with matlab coder

4 ビュー (過去 30 日間)
Simone Zonetti
Simone Zonetti 2023 年 2 月 1 日
回答済み: Dr. JANAK TRIVEDI 2023 年 2 月 1 日
I am using fitnlm/nlinfit in my code, and I need to export to C. Neither function is supported by MATLAB Coder. Is there an alternative non-linear regression function that can be used?

採用された回答

Dr. JANAK TRIVEDI
Dr. JANAK TRIVEDI 2023 年 2 月 1 日
Yes, there is an alternative non-linear regression function that you can use in MATLAB that can be exported to C with MATLAB Coder. One alternative is "lsqnonlin" (Levenberg-Marquardt non-linear least-squares solver), which can be used for non-linear regression problems. Another alternative is "curvefit" from the Curve Fitting Toolbox, which can be used for both linear and non-linear regression problems and also has support for code generation.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by