error in finding the mean
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!