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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15814 Solvers
-
7884 Solvers
-
1251 Solvers
-
Detect a number and replace with two NaN's
200 Solvers
-
546 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!