4.75

4.8 | 4 ratings Rate this file 24 Downloads (last 30 days) File Size: 2.8 KB File ID: #13899

Floating number conversion to binary and vice-versa

by Gordon Amoako

 

07 Feb 2007

Converts a fractional value to binary and vice versa

| Watch this File

File Information
Description

This M-File extends MATLAB's inbuilt dec2bin() and bin2dec() functions functionalities. When you enter a floating point number as 25.757 you expect to get the correspoing binary number and vice versa.Feel free to make corrections. But make reference to me where needed(laugh)

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
24 Jun 2007 Julius Baniaga  
03 Oct 2007 Pradoyt Biswas  
10 Dec 2007 johnson chen  
19 Aug 2008 tarun gupta  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
decimal to binary Gordon Amoako 22 Oct 2008 09:00:01
floating Gordon Amoako 22 Oct 2008 09:00:01
numbers Gordon Amoako 22 Oct 2008 09:00:01
decimals Gordon Amoako 22 Oct 2008 09:00:01
inbuilt Gordon Amoako 22 Oct 2008 09:00:01

Contact us at files@mathworks.com