Dear all
I made three loops using P1,P2 and P3, where these values appear in a Matrix A in the loops:
for i=15:imaxfor j=20:jmaxfor k=25:kmaxA= [ 1 i 100 10 j 14 3 k 16];b= function (i,j,k) %b can be calculated from a long process, but for each (i,j,k), we have a unique value of b
end;end; end;
My question is how I can have an excel file using xlswrite, displaying in each row in the same sheet the values of i, j, k and corresponding b. Thanks a lot
Best Answer