Given input vector, output it's DC and AC value
Example:
input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers63
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3737 Solvers
-
Back to basics 4 - Search Path
383 Solvers
-
Who knows the last digit of pi?
692 Solvers
-
Flip the main diagonal of a matrix
927 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14363 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Making a judgement about AC & DC based on only four points is unreliable. Not quite as flawed as the test cases in Problem 125, but still could be improved.