filter realization help

maduba12001

May 12, 2020
1
Joined
May 12, 2020
Messages
1
I need a help with filter realization. I dont understand how this works. This is a multiply and accumulate filter, I dont understand why cof[0] constant is multiplied, here is the code cof is the filter coefficients and sample is the samples. Any help with this very appreciated. Thank you

 
Last edited by a moderator:

HarryA1

Mar 4, 2009
481
Joined
Mar 4, 2009
Messages
481
It looks similar to:

[SIZE=13.3333px]y[n]=0;[/SIZE]

[SIZE=13.3333px]for(i=0; i<n; i++)[/SIZE]

[SIZE=13.3333px]y[n] += x * b;[/SIZE]





[SIZE=13.3333px]see:[/SIZE]





[SIZE=13.3333px]http://pdfserv.maximintegrated.com/en/an/AN3386.pdf[/SIZE]





[SIZE=13.3333px]What language is that? Never seen (long long) before. Perhaps like a double in C ?[/SIZE]



 

jasonadams

Jan 28, 2022
1
Joined
Jan 28, 2022
Messages
1
It looks similar to:

[SIZE=13.3333px]y[n]=0;[/SIZE]

[SIZE=13.3333px]for(i=0; i<n; i++)[/SIZE]

[SIZE=13.3333px]y[n] += x * b;[/SIZE]

[SIZE=13.3333px]see:[/SIZE]

[SIZE=13.3333px]http://pdfserv.maximintegrated.com/en/an/AN3386.pdf[/SIZE]

[SIZE=13.3333px]What language is that? Never seen this spy apps and[/SIZE][SIZE=13.3333px] (long long) before. Perhaps like a double in C ?[/SIZE]
This is the only integer data type in Visual C++. This data type has only been granted rights in recent versions of C++.

 
Last edited by a moderator:
Top