MATLAB精度 [英] MATLAB precision

查看:198
本文介绍了MATLAB精度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在MATLAB中实现四倍精度(128位算术),同时解决矩阵特征值问题?我试图解决一个线性稳定性分析问题的不可压缩平面Couette流量和MATLAB的默认64位精度不足以满足更高的雷诺数(4000左右)。 -5556.html>变精度算术,使用MATLAB中的符号数学工具箱。如果您使用,则应该获得与四倍精度浮点数相同的精度。 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆