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
-
Sum of diagonal of a square matrix
1642 Solvers
-
1393 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
652 Solvers
-
Find a subset that divides the vector into equal halves
402 Solvers
-
377 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!