2009/3/11 John W. Eaton
On 11-Mar-2009, Ivan Sutoris wrote:
then reshape and rename as needed:
It would probably be a lot faster to just read all the data at once,
fid = fopen ("foo.dat");
tmp = fscanf (fid, "%f").';
j = tmp(:,1);pppppp
k = tmp(:,2);
Cl = ...
Sl = ...
I'm having trouble understanding exactly how i,j and j,k in your
above example are supposed to be used as indices to Cl and Sl, and
what you expect the final sizes to be, so I'm not sure precisely how
to take the 3rd and 4th columns of TMP and turn it into Cl an Sl.