Hi Frederico,
Rouding stuff is not a simple issue, but it's clear that your are not
doing the computations in the same order, which could explain the
difference. Here is a simpler example showing that the result depends on
the order in which computations are done:
--> x=rand(10,1,"normal");
Dear All,
Here I have the following script, where I compute the same thing using
two iteration methods:
alfa = rand(1,10);
Rpr = rand();
R = rand();
Z = rand(10,200);
G = zeros(1,200);
for i=1:200
A = 0;
B = 0;
for k = 1:10
A = A + Rpr*alfa(k) / (Z(k,i)