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

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by