[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new octave
From: |
Robert A. Macy |
Subject: |
Re: new octave |
Date: |
Sat, 04 Mar 2006 08:47:23 -0800 |
OOPS!
Accept all three [is there any reason not to?], prefer the
first, Matlab-like.
- Robert -
On Fri, 3 Mar 2006 11:53:43 +0000
"Hugo Silva" <address@hidden> wrote:
> Hi,
>
> I am writing a "new octave" program with many differences
> from Matlab/Octave
> syntax.
>
> Matlab uses three dots (...) to tell to continue the
> command on the next
> line. I would like to know your opinion about other
> solution than the three
> dots (...).
>
> Below is an example of a m file with three options. Tell
> me which one you
> like more, or tell me about any better idea.
>
>
----------------------------------------------------------------
>
> function res=myFunc(src)
>
> %option 1 (like matlab)
>
> filter= ...
>
> [ ...
>
> -100,200,-100 ...
>
> ]
>
> % option 2 (like tcl)
>
> filter= \
>
> [ \
>
> -100,200,-100 \
>
> ]
>
> % option 3 (using {})
>
> {
>
> filter=
>
> [
>
> -100,200,-100
>
> ]
>
> }
>
> ---------------------------------------------------------
>
> Best regards,
>
> Hugo
-------------------------------------------------------------
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
-------------------------------------------------------------
vailable 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
-------------------------------------------------------------
- new octave, hugo1981 (sent by Nabble.com), 2006/03/03
- new octave, Hugo Silva, 2006/03/03
- Re: new octave,
Robert A. Macy <=