I have to multiply the matrices in the reverse order such as
f[4].f[3].f[2].f[1]
Have to be done by loops, because I have to multiply 10000 matrices all numerical values, for example the below code,
dx=10;
M[j_,kz_]={{2 Sin[j dx kz], 3 Cos[j dx kz]},{Cos[5 j dx kz], Sin[4 j dx kz]}}
For[kz=4, kz<1-1, --kz,
For[j=1, j<20+1, j++,
M[j,kz]];
Can't figure out here
]
I need to multiply M[j,4].M[j,3].M[j,2].M[j,1]
kz
andj
, or justj
? $\endgroup$