Numerical error for same MATLAB function but generated differently

1 回表示 (過去 30 日間)
Dhruvit
Dhruvit 2023 年 9 月 21 日
編集済み: Torsten 2023 年 9 月 21 日
I have two matlab functions, one generated using symbolic math and another hand coded as normal matlab function. So , my question is, if both the matlab function has same equations and parameters, then would there be any difference in results due to round of errors or accumulation of any numerical errors over the course of simulation time?

採用された回答

Torsten
Torsten 2023 年 9 月 21 日
編集済み: Torsten 2023 年 9 月 21 日
General answer for an unspecific question:
Especially look at the paragraph
Comparisons of Numeric and Symbolic Arithmetic

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by