Origin Version (Select Help-->About Origin): 7.5 Operating System: xp
Hi!
Thanks Mike for your last answer!
a new problem... I have the following data sets in worksheets: Data1_A, Data2_A. For each value in Data1_A I want to make calculations with all the points in Data2_A, so I should obtain something like a matrix.
Now I tried with MATRIX:set values to assign the following, or also with the CodeBuilder:
double i; double j;
for (i=1; i<=5; i++) { for (j=1; j<=5; j++) { Cell(i,j) = Data1_A[i]*Data2_A[j]; }; };
quite easy in fact... but it doesn't work!
I also look at the AccessWorksheetObjectsTutorial.c to import the files, but I can't programming and so I have problems!!!
Thanks for the answer, but I can't make it works :-( Wenn I give the code in the Script Window (with the matrix as active window), it writes a warning message:
Cell($(i),$(j)) = Data1_A[$(i)]*Data2_A[$(j)] Column name must not be blank