Filter löschen
Filter löschen

MATLAB failed to convert symbolic matrix into numeric matrix using double() function, anyone knows what happened?

1 Ansicht (letzte 30 Tage)
I did some arithmetic using Symbolic Math Toolbox and got a 2 by 2 matrix. Due to the analytic arithmetic, the symbolic matrix's entries are very large number divide/multiplies very large number and include gamma() functions inside. However, the result of this matrix, if one calculates by hand, is just normal matrix with normal numbers (I mean after those operations each entry is NOT astronomical figure) And when I attempted to double() this matrix into numeric, the program just keeps running as if runs into an endless loop without throwing any error. So I have to press ctrl+C to stop MATLAB. Anyone knows how can I fix this problem?

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by