[scilab-Users] Squarewave
    Samuel GOUGEON 
    Samuel.Gougeon at univ-lemans.fr
       
    Fri Nov 19 14:02:09 CET 2010
    
    
  
  Hi Laurent,
----- Message d'origine -----
De : Laurent Berger
Date : 19/11/2010 09:39:
> squarewave is not periodic.
> What's wrong?
It's a bug.
In the squarewave definition (-->edit squarewave )
s = 2*bool2s(modulo(t,2*%pi) < 2*%pi*%/100)-1
must be replaced with
s = 2*bool2s(pmodulo(t,2*%pi) < 2*%pi*%/100)-1
May you report the bug in 
http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20%20software
Regards
Samuel
    
    
More information about the users
mailing list