Removing vibration! - MATLAB Cody - MATLAB Central

Problem 43183. Removing vibration!

Difficulty:Rate

There are [y] that vary with [x] but y including small useless vibration.

 x=1:10
 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.32 9.95 10.03]

Remove the vibration using moving average. processed vector yp is calculated follow these method.

yp(1)=(y(1)+y(2)+y(3))/3

yp(2)=(y(2)+y(3)+y(4))/3

yp(3)=(y(3)+y(4)+y(5))/3 ...

(hint: conv function)

Solution Stats

57.27% Correct | 42.73% Incorrect
Last Solution submitted on May 08, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
2
4
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers57

Suggested Problems

More from this Author27

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page