From Double To String
Version 1.0.0.0 (2.2 KB) by
Herman Gollwitzer
A conversion from a float to a binary string representation is provided.
4.3K Downloads
Updated
3 Jun 2002
No License
Two functions, num2bin and bin2num are provided. num2bin takes a double and converts it to a binary string representation. bin2num is its inverse operation. It can be used in a numerical analysis course when floating point arithmetic is discussed.
Cite As
Herman Gollwitzer (2024). From Double To String (https://www.mathworks.com/matlabcentral/fileexchange/1777-from-double-to-string), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R11.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |