Read wav file in hexa

조회 수: 5 (최근 30일)
I Made
I Made 2013년 2월 28일
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?

채택된 답변

per isakson
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
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.
I Made
I Made 2013년 3월 1일
Nothing important, i just wanna see it and solve the problem if anyhow i meet this kinda problem again. Anyway i've found how to do it, well we only need to write it down on excel. And very thank to both of you, you guys are great :D

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by