error in finding the mean
Show older comments
I have found values of R and P
R(k) = n/8
P(k)= n/28
i have used this inside for loop ,the value of n varies,,i get 80 values for R and P ,each having 80 values,i want to find mean of every eight values of R and P tried
R1(x)=mean(R(:));
P1(x)=mean(P(:));
but getting same values for one value is repeated 10 times,
please help
5 Comments
Chandra Kurniawan
on 30 Dec 2011
I think it's better if we can solve your multiple problem in this page.
http://www.mathworks.com/matlabcentral/answers/24932-selecting-the-images
and
http://www.mathworks.com/matlabcentral/answers/24976-replacing-the-parameters
Chandra Kurniawan
on 30 Dec 2011
Just tell me what is 'n'?
Pat
on 30 Dec 2011
Chandra Kurniawan
on 30 Dec 2011
Then, How can I get the value of n?
Pat
on 30 Dec 2011
Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!