help-octave
[Top][All Lists]
Advanced

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

Re: Problem in a if condition


From: Pol
Subject: Re: Problem in a if condition
Date: Fri, 30 Jan 2004 14:30:20 +0100

> 
>   if ( (y12-y21) > 0.00000001 )
>    error ("The quadripole is not passif");

It is this line that is causing the error. In your example, y12=6, 
y21=3. (6-3) > 0.00000001 so the error command is invoked.


ok but where are coming those errors:
error: evaluating if command near line 10, column 3
error: called from `cqy2pip' in file
`/usr/share/octave/2.1.50/m/CQFILES/cqy2pip.m' error: evaluating
assignment expression near line 2, column 2 octave:2> 

?


 -pol-



-------------------------------------------------------------
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]