[Top][All Lists]

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

Re: quiet option, ans =

From: Mike Miller
Subject: Re: quiet option, ans =
Date: Fri, 1 Aug 2003 17:05:19 -0500 (CDT)

On Fri, 1 Aug 2003, Ian Garcia wrote:

> Is there a way to eliminate the "ans=" and
> the following  empty line from the output ?

> octave:1> myfunc(X)
> ans =
>    171.949
>     90.221

Do this:


That will just display the result.

If you do this (as someone recommended)...

myfunc(X); will get no ans= and no newline, but you also will get no output at
all! (which is good when you don't want output, but I think you do want


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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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