modulo function in xcos

Gus Ishere gus.is.here at gmail.com
Tue Jun 21 16:14:21 CEST 2011


Sorry for the repost, but the news readers show this thread with another thread
(since someone replied to this message, changing the subject line). I'm still
having this issue.

On Sun, Jun 19, 2011 at 10:43 PM, Gus Ishere <gus.is.here at gmail.com> wrote:
> I'm a first-time Scilab user and would like to simulate a model in
> xcos (or Scicos)
>
> I am simulating a Numerically Controlled Oscillator and need to
> perform modular arithmetic (modulo 2^W, W is some parameter to the
> model). I am trying to use the Xcos "Mathematical Expression" block,
> but it does not recognize the function "modulo". In the Scilab
> console, though, "modulo" provides the desired functionality. I expect
> that since "modulo" and "sin" appear in the same namespace, that I
> would be able to use them identically in the Xcos block, but "sin"
> works and "modulo" does not.
>
> Thanks,
> Gustavo
>



More information about the users mailing list