how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
1 回表示 (過去 30 日間)
古いコメントを表示
Thanks
5 件のコメント
Image Analyst
2012 年 9 月 7 日
But you didn't do what I asked. Are those letters in a string variable? Can you do "whos" on it?
採用された回答
Greg
2012 年 9 月 7 日
Assuming the hex numbers are in a 1xN char (test in this example):
Output will be Mx1 double array (ans in this example)
test = '0123456789ABCDEF';
ans = hex2dec(reshape(test, 2, numel(test)/2)');
その他の回答 (0 件)
参考
カテゴリ
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!