MATLAB精度 [英] MATLAB precision
问题描述
,则应该获得与四倍精度浮点数相同的精度。 34
作为有效数字的数字 VPA 功能。 如果您没有访问符号数学工具箱,我会从Multiple Precision Toolbox for MATLAB。 =http://www.mathworks.com/matlabcentral/fileexchange/authors/12143> Ben Barrowes 关于 MathWorks文件交换。
How can I implement quadruple precision (128 bit arithmetic) in MATLAB while solving a Matrix eigenvalue problem ?
I am trying to solve a linear stability analysis problem for incompressible plane Couette flow and the the default 64 bit precision of MATLAB is not enough for higher values of Reynolds number (around 4000).
You can perform variable-precision arithmetic using the Symbolic Math Toolbox in MATLAB. You should get nearly the same precision as a quadruple precision floating-point number if you use 34
as the number of significant digits for the VPA function.
If you don't have access to the Symbolic Math Toolbox, I would check out the submission "Multiple Precision Toolbox for MATLAB" from Ben Barrowes on the MathWorks File Exchange.
这篇关于MATLAB精度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!