DocumentationHelp Center
Convert from mel scale to hertz
hz = mel2hz(mel)
example
hz = mel2hz(mel) converts values on the mel frequency scale to values in hertz.
hz
mel
collapse all
Set two bounding frequencies in Hz and then convert them to the mel scale.
b = hz2mel([20,8000]);
Generate a row vector of 32 values uniformly spaced on the mel scale.
melVect = linspace(b(1),b(2),32);
Convert the row vector of values into equivalent frequencies in Hz.
hzVect = mel2hz(melVect);
Plot the two vectors for comparison. As mel values increase linearly, Hz values increase exponentially.
plot(melVect,hzVect,'o') title('Mel vs Hz') xlabel('Mel') ylabel('Hz') grid on
Input frequency on the mel scale, specified as a scalar, vector, matrix, or multidimensional array.
Data Types: single | double
single
double
Output frequency in Hz, returned as a scalar, vector, matrix, or multidimensional array the same size as mel.
The frequency conversion from the mel scale to Hz uses the following formula:
hz=700(10mel2595−1)
[1] O'Shaghnessy, Douglas. Speech Communication: Human and Machine. Reading, MA: Addison-Wesley Publishing Company, 1987.
bark2hz | erb2hz | hz2bark | hz2erb | hz2mel
bark2hz
erb2hz
hz2bark
hz2erb
hz2mel
귀하의 시스템에 이 예제의 수정된 버전이 있습니다. 이 버전을 대신 여시겠습니까?
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
평가판 신청