From Double To String

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 Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0