katvek
Newbie level 4
hello,
here it is my problem,
i have a loop ii=0:25 where it calculates the error(ii)=... A matrix with 26 values. After the end, the simulatedBER is calculated with simBER=error/N;
I want this calculation to be done 10 times, more precisely, the error(ii) to be calculated 10 times making 10 groups of 26 values, and then to take mean value of each 10 times calculated value. Then, the mean values are put in the simBER.
the original loop is:
for ii=0:26
----
error(ii)=...;
end
simBER=error/N;
Does anyone have idea how to make the new loop and the mean calculation?
here it is my problem,
i have a loop ii=0:25 where it calculates the error(ii)=... A matrix with 26 values. After the end, the simulatedBER is calculated with simBER=error/N;
I want this calculation to be done 10 times, more precisely, the error(ii) to be calculated 10 times making 10 groups of 26 values, and then to take mean value of each 10 times calculated value. Then, the mean values are put in the simBER.
the original loop is:
for ii=0:26
----
error(ii)=...;
end
simBER=error/N;
Does anyone have idea how to make the new loop and the mean calculation?