How do I use a cfit or very small numbers in a simulink matlab function?

12 ビュー (過去 30 日間)
Tobias Held
Tobias Held 2022 年 1 月 4 日
回答済み: Tobias Held 2022 年 1 月 6 日
I am trying to use a cfit (2. polynominal) in a simulink matlab function. A simple From Workspace block for the Coefficients does not work , because one Coefficient is too small (e-12). Any ideas?
Reading Coefficients from file works but increases execution time by factor 4.

採用された回答

Tobias Held
Tobias Held 2022 年 1 月 6 日
Use cfit see this answer.
Alternativly make a normalized fit and edit the createFit function like I answered here

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFit Postprocessing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by