Demo entry 6364573

bw

   

Submitted by lee on May 16, 2017 at 14:57
Language: C. Code size: 223 Bytes.

void Butterworth_Lowpass_Fliter(double O_data_no_fliter[], double O_data[],double half_band)
{
	for (int i = 0; i < NUM/2; i++)
	{
		O_data[i] = -1*(1 / (1 + pow((O_data_no_fliter[i] / half_band), (double)2))-1);
	}
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).