Input x is the sampled signal vector, may have both AC and DC components. output vector y should have AC components removed then change sign alternately, for example, input [1:5], output [3 -3 3 -3 3].
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers183
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2820 Solvers
-
403 Solvers
-
Remove white space from the string
208 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14168 Solvers
-
Count decimal digits of a number
236 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!