Is any one know how to write this in MATLAB..?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have attached a file here, can any one tell me that how to write that formula in matlab script..?

Answers (1)
Star Strider
on 21 Apr 2015
Edited: Star Strider
on 21 Apr 2015
It’s ‘windowed mean’. This is probably the context of the equation:
x = rand(20,1);
M = 10;
for i = 1:11
y(i) = mean(x(i + [0:M-1]));
end
4 Comments
nani kalyan
on 21 Apr 2015
Image Analyst
on 21 Apr 2015
Is that the length of x, or the value of M?
nani kalyan
on 21 Apr 2015
Image Analyst
on 21 Apr 2015
Your reply refers to your other question http://www.mathworks.com/matlabcentral/answers/210572-i-have-attached-here-the-data-which-was-getting-noise-at-output and not to this one, which is totally different.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!