[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:35:35 +0100 |
On Fri, 30 Jan 2004 14:10:13 +0100
David Bateman <address@hidden> wrote:
> This is a trick question right?
>
no it's not a trick I just want octave to print the error then write
nothing.
Here I get 4 errors ...
maybe it's a trick for you but i'm pretty new and I do my best to
understand it.
Why do I get: error: evaluating if command near line 10, column 3 ??
the syntax is correct ...
tell me what's wrong.
-pol-
> > y11=y(1,1);
> > y12=y(1,2);
>
> y12 = 6
>
> > y21=y(2,1);
>
> y21 = 3
>
> > y22=y(2,2);
> >
> > if ( (y12-y21) > 0.00000001 )
>
> 6 - 3 = 3 > 0.00000001 !!!!
>
> D.
>
> --
> David Bateman
> address@hidden Motorola CRM
> +33 1 69 35 48 04 (Ph)
> Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
> 91193 Gif-Sur-Yvette FRANCE
>
> The information contained in this communication has been classified
> as:
>
> [x] General Business Information
> [ ] Motorola Internal Use Only
> [ ] Motorola Confidential Proprietary
-------------------------------------------------------------
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
-------------------------------------------------------------
Re: saving plot images in arbitrary sizes., Geraint Paul Bevan, 2004/01/31