How to convert a file containing real numbers into binary/hexadecimal?
    1 view (last 30 days)
  
       Show older comments
    
    MEENU SAINI
 on 19 Jun 2016
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 20 Jun 2016
            I want to convert whole file of real numbers having atleast 1000 data points into binary/hex using some function or program. Plz help
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 19 Jun 2016
        num2hex() is the routine to use to see the hex representation of the IEEE 754 bit pattern for float or double.
More Answers (2)
  Azzi Abdelmalek
      
      
 on 19 Jun 2016
        
      Edited: Azzi Abdelmalek
      
      
 on 19 Jun 2016
  
      You can use dec2bin and dec2hex function
1 Comment
See Also
Categories
				Find more on Data Type Conversion in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

