View Single Post
  #2  
Old July 24th, 2008, 12:23 PM
CaptainBlack's Avatar
CaptainBlack CaptainBlack is offline
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 11,375
Country:
Thanks: 667
Thanked 3,618 Times in 2,915 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Try something like:

Code:
fl0='C:\MATLAB701\work\Point_Clouds';
for idx =1 : 20
  if idx==1
    flin='C:\Documents and Settings\prhill\My Documents\Hill\Point_Clouds\20_1_00.asc';
    flout=[fl0,num2str(11);
  else
    flin=flout
    flout=[fl0,num2str(10+idx)];
  end
  
  points=load(flin);
  
  %do calcuations
  
  fid_out=fopen(flout,'w');
  fprintf(fid_out,'%6.3f %6.3f %6.3f\n',cull1');
  fclose(fid_out);
  
end
RonL
__________________
Truth does not change because it is, or is not, believed by a majority of the people.

Giordano Bruno
Reply With Quote
The following users thank CaptainBlack for this useful post:
Donate to MHF