note 95183 rejected from function.fopen by thiago

From: Date: Thu, 17 Dec 2009 12:00:21 +0000
Subject: note 95183 rejected from function.fopen by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164076@lists.php.net to get a copy of this message
Note Submitter: cristian1603 at msn dot com ---- Hi everyone, I have a problem with Matlab, I have to open several files (about 700, really these files are images) with these names: "Corrected0","Corrected1",...,"Corrected500"..., I would like to do a loop because I have to work in the same way with all files, but I don´t know how.. fID= fopen('corrected0.float32'); matrix = zeros(1024,1024); for i = 1:1024 matrix(i,:)=fread(fID, 1024, 'float32'); end HOw can I do to changing the nummber? 'corrected0.float32' 'corrected1.float32' 'corrected2.float32' ... 'corrected500.float32' Thank you

« previous php.notes (#164076) next »