I asked a friend that knows a little of programming to code for me, but he never used matlab
what he explained to me:
T2 is my O colun (69x1)
dir_teta is the Q, R, S, etc... (36 coluns). (1x36)
aux_T2 he created to store the result (69x36)
he came up with this code, but It's still wrong
T2=E(:,1);
nrows_2 = length(T2);
ncols_2 = length(dir_teta);
aux_T2= ones(nrows_2,ncols_2);
for i=1:ncols_2
aux_T2(i,1)=dir_teta(1,i);
end
for j = 1:ncols_2
for i = 1:nrows_2-1
aux_T2(i+1,j)=aux_T2(i,j)*T2(i);
end
end