view 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
line wrap: on
line source
#include "unit_conversion.h"

float ERB_Hz(float cf_hz, float erb_break_freq, float erb_q){
  return (erb_break_freq + cf_hz) / erb_q;
}