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

I have attached a file here, can any one tell me that how to write that formula in matlab script..?

Risposte (1)

Star Strider
Star Strider il 21 Apr 2015
Modificato: Star Strider il 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 Commenti

i have the values like 23000, for that how can we write..?
Is that the length of x, or the value of M?
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).
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.

Questa domanda è chiusa.

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

il 21 Apr 2015

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by