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

조회 수: 12 (최근 30일)
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 CenterFile Exchange에서 Fit Postprocessing에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by