Hi, i am lakshmi, I am working in scilab, I am unable to generate periodic signals in scilab. Any body please tell me how to generate the periodic signals like (square, ramp signals )in scilab. with regards, Lakshmi.
how to generate periodic signals in scilab
Started by ●September 27, 2007
Reply by ●September 27, 20072007-09-27
"lakshminani" <venkata.siripurapu@honeywell.com> a �crit dans le message de news: q8GdnUSXJoIDPWbbnZ2dnUVZ_o-mnZ2d@giganews.com...> Any body please tell me how to generate the periodic signals like (square, > ramp signals )in scilab.As a starting point : Square : for i=1:npoints; if(modulo(i,period) > period/2) then signal(i)=1; else signal(i)=-1;end; Ramp : for i=1:npoints; signal(i)=modulo(i,period); end; Cheers, Robert