Problem 127. DC chopper
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 commentsProblem Recent Solvers171
Suggested Problems
-
Return the 3n+1 sequence for n
8123 Solvers
-
Maximum running product for a string of numbers
2102 Solvers
-
Test if a Number is a Palindrome without using any String Operations
226 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3017 Solvers
-
1089 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!