help-octave
[Top][All Lists]
Advanced

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

Re: I would like to do this, but is not supported


From: pkienzle
Subject: Re: I would like to do this, but is not supported
Date: Thu, 23 Oct 2003 22:07:15 +0100

On 23 Oct 2003 at 14:19, Geraint Paul Bevan wrote:

> charo wrote:
> 
> 
> |>        eval(sprintf("tempGrad(%03i,%03i)",i,j))= tcFr; <---- (2)
> 
> This should work if you put the "= tcFr" inside the string to be evaluated
> 
> [*untested*]
> eval(sprintf("tempGrad(%03i,%03i) = tcFr",i,j));

Why not assign it directly:  tempGrad(i,j) = tcFr;

Paul Kienzle
address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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