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 Solvers180
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6682 Solvers
-
Change the sign of even index entries of the reversed vector
638 Solvers
-
324 Solvers
-
762 Solvers
-
The sum of the numbers in the vector
641 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!