Numerical error for same MATLAB function but generated differently

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일

0 개 추천

General answer for an unspecific question:
Especially look at the paragraph
Comparisons of Numeric and Symbolic Arithmetic

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2023년 9월 21일

편집:

2023년 9월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by