[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help messages
From: |
Sarodnick Volker ZFF TE-DR |
Subject: |
Re: help messages |
Date: |
Fri, 21 Mar 2003 13:41:31 +0100 |
> Sarodnick Volker ZFF TE-DR wrote:
>
> >interp1.m exists and is well documented, so I puzzled a little bit
> >...
> >
> > Do I need some special environment
> >settings? I tried also: octave --no-init-file , but it doesn't help.
> >
> >
> Is interp1 on your octave LOADPATH?
> If so, the following work:
> interp1(0:10,0:10,[3.5,4.5])
> If not, set
> LOADPATH="/cygdrive/c/path_to_interp1//:"
> and try again. The ':' at the end says search the
> default system path. The '//' says search all
> subdirectories. The '/cygdrive/c' says look on
> C:/path_to_interp1.
>
> Paul Kienzle
> address@hidden
>
The function works, but there is no online documentation:
interp1(0:10,0:10,[3.5,4.5])
ans =
3.5000 4.5000
help interp1
help: sorry, `interp1' is not documented
...
but:
help rows
rows is the user-defined function from the file
/usr/share/octave/2.1.42/m/general/rows.m
- Function File: rows (A)
Return the number of rows of A.
See also: size, columns, length, isscalar, isvector, and ismatrix.
...
There is a difference between the two files. In rows.m:
## -*- texinfo -*-
## @deftypefn {Function File} {} rows (@var{a})
## Return the number of rows of @var{a}.
## @end deftypefn
## @seealso{size, columns, length, isscalar, isvector, and ismatrix}
...
but in interp1.m:
## usage: yi = interp1(x, y, xi [, 'method' [, 'extrap']])
##
## Interpolate the function y=f(x) at the points xi. The sample
## points x must be strictly monotonic. If y is a matrix with
## length(x) rows, yi will be a matrix of size rows(xi) by columns(y),
...
What's wrong?
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
-------------------------------------------------------------
- help messages, Sarodnick Volker ZFF TE-DR, 2003/03/20
- Re: help messages,
Sarodnick Volker ZFF TE-DR <=