num2hpf
Version 1.1.0 (1.42 KB) by
Cemil Közkurt
transforms a numeric array to hpf (high precision floating point format)
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)
Cite As
Cemil Közkurt (2026). num2hpf (https://www.mathworks.com/matlabcentral/fileexchange/74835-num2hpf), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
