[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie - can't find function
From: |
Matteo Bettella |
Subject: |
Re: Newbie - can't find function |
Date: |
Sat, 21 Apr 2001 13:55:30 +0100 (BST) |
On Sat, 21 Apr 2001, Brent W. Woodruff wrote:
> Hello,
> I'm new to the world of octave and despite my best efforts in the function
> index and help files, I can't find the command for mod. Is it in there or do
> I need to write an octave program to do it?
>
I think you don't.
>From the documentation:
Mapping Function: rem (x, y)
Return the remainder of x / y, computed using the expression
x - y .* fix (x ./ y)
An error message is printed if the dimensions of the arguments do not
agree, or if either of the arguments is complex.
Is this what you need?
Regards,
Matteo
-------------------------------------------------------------
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
-------------------------------------------------------------