Question: Modify the first question to make the filter size variable by using lists. Instead of a 3-tap or 5-tap, the user can choose any odd
Modify the first question to make the filter size variable by using lists. Instead of a 3-tap or 5-tap, the user can choose any odd number tap (e.g., 7 or 9). You must use arrays. Also, instead of averaging only, provide variable length median filtering. For example, if chosen by the function caller, then we can show the median of the last 7 values instead of the average of the last 7 values (assuming 7 is the chosen filter size).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
