[e2c226]: auditory / erbtofreq.m Maximize Restore History

Download this file

erbtofreq.m    22 lines (19 with data), 588 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
function freq = erbtofreq(erb);
%ERBTOFREQ Converts erb units to frequency (Hz)
% Usage: freq = erbtofreq(erb);
%
% This is a wrapper around |audtofreq|_ that selects the erb-scale. Please
% see the help on |audtofreq|_ for more information.
%
% The following figure shows the corresponding frequencies for erb
% values up to 31:::
%
% erbs=0:31;
% freqs=erbtofreq(erbs);
% plot(erbs,freqs);
% xlabel('Frequency / erb');
% ylabel('Frequency / Hz');
%
% See also: audtofreq, freqtoaud
% AUTHOR: Peter L. Søndergaard
freq = audtofreq(erb,'erb');