NUM2HPF transforms a numeric array to hpf (high precision floating point format at known precision without errors.
The HPF class was writen by John D'Errico, is a high precision floating point arithmetic, a new class written in MATLAB can be downloaded from: from https://www.mathworks.com/matlabcentral/fileexchange/36534-hpf-a-big-decimal-class
Comparison example:
A=rand(4,1);
A1=hpf(A)
A2=num2hpf(A,15)
引用格式
Cemil Közkurt (2024). num2hpf (https://www.mathworks.com/matlabcentral/fileexchange/74835-num2hpf), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2018a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!