src/experiments/babybot/soundidentification/soundidentificationprocessing.cpp
double
SoundIdentificationProcessing::HammingPonderation(const unsigned int N,
												  const unsigned int k)
{
	double hamm = 0.54 - 0.46 * cos( (2 * PI / (N -1)) * k );
	return hamm;
}
//--------------------------------------------------------------------------------------
//       Class:  SoundIdentificationProcessing
//      Method:  HammingPonderation
// Description:  Calculates the k element of a hamming window
//--------------------------------------------------------------------------------------
SoundIdentificationProcessing
Method:  HammingPonderation
Description:  Calculates the k element of a hamming window
SoundIdentificationProcessing Method : HammingPonderation Description : Calculates the k element of a hamming window
double
SoundIdentificationProcessing::HammingPonderation(const unsigned int N,
												  const unsigned int k)
{
	double hamm = 0.54 - 0.46 * cos( (2 * PI / (N -1)) * k );
	return hamm;
}
double SoundIdentificationProcessing :: HammingPonderation ( const unsigned int N , const unsigned int k ) { double hamm = 0.54 - 0.46 * cos ( ( 2 * PI / ( N - 1 ) ) * k ) ; return hamm ; }
Class:  SoundIdentificationProcessing
Method:  HammingPonderation
Description:  Calculates the k element of a hamming window
Class : SoundIdentificationProcessing Method : HammingPonderation Description : Calculates the k element of a hamming window