How to convert a file containing real numbers into binary/hexadecimal?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2016 年 6 月 19 日
num2hex() is the routine to use to see the hex representation of the IEEE 754 bit pattern for float or double.
その他の回答 (2 件)
Azzi Abdelmalek
2016 年 6 月 19 日
編集済み: Azzi Abdelmalek
2016 年 6 月 19 日
You can use dec2bin and dec2hex function
1 件のコメント
MEENU SAINI
2016 年 6 月 19 日
3 件のコメント
Walter Roberson
2016 年 6 月 20 日
https://www.mathworks.com/matlabcentral/newsreader/view_thread/30803
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!