Hi - I would use avwmaths++
Given that you can force the output datatype to be int with "-odt
int", it should be straightforward to do this with a few simple calls
to avwmaths++
Cheers, Steve.
On 23 Feb 2007, at 15:30, Rolf Heckemann wrote:
> I'm looking for a way to obtain the remainder of a division in
> avwmaths, ideally like this:
>
> avwmaths elevens -mod tens ones
>
> Is there a way to obtain this result using the current version?
> Alternatively, could I request this as a feature for avwmaths?
>
> Thanks
>
> Rolf Heckemann
------------------------------------------------------------------------
---
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director, Oxford University FMRIB Centre
FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
------------------------------------------------------------------------
---
|