Remove DC - MATLAB Cody - MATLAB Central

Problem 125. Remove DC

Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component.

Example:

 Input  x = [  1  2  3  2  1  2  3]
 Output y = [ -1  0  1  0 -1  0  1]

Solution Stats

62.04% Correct | 37.96% Incorrect
Last Solution submitted on Mar 06, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers435

Suggested Problems

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!
Go to top of page