annotate branches/carfac_cpp/src/unit_conversion.cpp @ 699:9900ef01df23

Match precision of C++ test output to that in the Matlab code.
author ronw@google.com
date Thu, 27 Jun 2013 22:28:34 +0000
parents d59c0d65624b
children
rev   line source
Ulf@587 1 #include "unit_conversion.h"
Ulf@587 2
Ulf@587 3 float ERB_Hz(float cf_hz, float erb_break_freq, float erb_q){
Ulf@587 4 return (erb_break_freq + cf_hz) / erb_q;
Ulf@587 5 }