Read wav file in hexa
3 次查看(过去 30 天)
显示 更早的评论
I want to read wav file in hexa, how i'm supposed to do that?
rawsignal=wavread('tes.wav','native');
above code returns me sample data in int16, can i convert it to hexa ? or even it's possible?
0 个评论
采纳的回答
per isakson
2013-2-28
Try something:
>> dec2hex(int8([126:127]),2)
ans =
7E
7F
and
>> dec2hex(int16([32765:32767]),4)
ans =
7FFD
7FFE
7FFF
8 个评论
Walter Roberson
2013-2-28
I'm not sure what kind of summary you expect for characters anyhow?
The summary in the workspace browser is just a convenience and has no effect on the program.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!