help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Execute the same calculus to different data files


From: Carlo de Falco
Subject: Re: Execute the same calculus to different data files
Date: Tue, 5 Aug 2008 17:51:19 +0100


On 05/ago/08, at 15:46, Oscar Bayona Candel wrote:

for i=1:20
A(i)=load("ff(i).m")
B(i)=A(i)+2
end

Do you know a procedure to do it?


for i=1:20
A{i}=load(sprintf("ff%d.m",i));
B{i}=A{i}+2;
end

Thanks in advance and best regards¡¡¡¡

HTH,
c.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]