Question: Alpha Filter The following code is one implementation of an alpha filter: float alphaFilter ( float y ) { float alpha = 0 . 6

Alpha Filter
The following code is one implementation of an alpha filter:
float alphaFilter(float y){
float alpha =0.6;
static float z =0;
z = alpha*z +(1-alpha)*y;
return z;
}
46.
Given the samples:
y1=10,y2=54,y3=11
What will the alpha filter output after each sequential input?
y1
y2
y3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!