Effacer les filtres
Effacer les filtres

Numerical error for same MATLAB function but generated differently

3 vues (au cours des 30 derniers jours)
Dhruvit
Dhruvit le 21 Sep 2023
Modifié(e) : Torsten le 21 Sep 2023
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?

Réponse acceptée

Torsten
Torsten le 21 Sep 2023
Modifié(e) : Torsten le 21 Sep 2023
General answer for an unspecific question:
Especially look at the paragraph
Comparisons of Numeric and Symbolic Arithmetic

Plus de réponses (0)

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by