Problem 43183. Removing vibration!
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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers51
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
2925 Solvers
-
Get the length of a given vector
9473 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
794 Solvers
-
Sum the numbers on the main diagonal
560 Solvers
-
What is Sum Of all elements of Matrix
396 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!