Info

This question is closed. Reopen it to edit or answer.

Is any one know how to write this in MATLAB..?

1 view (last 30 days)
nani kalyan
nani kalyan on 21 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
I have attached a file here, can any one tell me that how to write that formula in matlab script..?

Answers (1)

Star Strider
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
nani kalyan on 21 Apr 2015
here i have attached my data, in that you can see the column of 7 and 11.... i=all values in column 7. M=length(i).

This question is closed.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!