Problem 126. Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component.
Example:
Input x = [0 1 2] Output y = [1 1 1]
Solution Stats
Problem Comments
-
4 Comments
Amitava, it is fantastic that you are contributing problems, but you really need to spend more time specifying what the solution should do. The person solving is left needing to guess too much.
Definitely Agree with the cyclist. W/o example it is impossible to understand the task to achieve.
The DC component of a signal is usually its mean. Now filter can have many meanings, but in this case, it means to remove the signal variation.
Great RSTV!
Solution Comments
Show commentsProblem Recent Solvers351
Suggested Problems
-
Find state names that end with the letter A
1188 Solvers
-
How to find the position of an element in a vector without using the find function
2771 Solvers
-
282 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2366 Solvers
-
Flip the main diagonal of a matrix
864 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!