Problem 43551. I told you not separate me, but you did :( - ACDC
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
David Verrelli
on 5 Jul 2018
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.
Solution Comments
Show commentsProblem Recent Solvers56
Suggested Problems
-
Which values occur exactly three times?
5091 Solvers
-
Increment a number, given its digits
650 Solvers
-
The Hitchhiker's Guide to MATLAB
3297 Solvers
-
Is this triangle right-angled?
5814 Solvers
-
Element by element multiplication of two vectors
373 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!