Thank you for reply, Ramine! I tried to change parameters as you recommend after your suggestion and before it. It does not solve the problem. FFT figure window is empty, but I expect peak at 1 Hz.
With best regards, maintainer of Mathieu functions toolbox for Scilab <http://atoms.scilab.org/toolboxes/Mathieu>, IEEE member, Ph.D., Nikolay Strelkov. 2014-12-26 2:32 GMT+03:00 Ramine Nikoukhah <ramine.nikouk...@inria.fr>: > Hi, I am not familiar with this block but the parameters don't seem to be > correct. The period of sample clock in the model is 1e-3 but the sampling > period block parameter of this block is not 1e-3. I also note that the size > of input buffer is 2048 but the simulation stops at 2, i.e., 2000 points. I > assume no FFT is computed until at least 2048 points are placed in the > buffer. > Ramine > > ------------------------------ > > *De: *"Nikolay Strelkov" <n.strel...@gmail.com> > *À: *sci...@inria.fr, users@lists.scilab.org, "alan layec" < > alan.la...@cermics.enpc.fr> > *Envoyé: *Jeudi 25 Décembre 2014 19:58:20 > *Objet: *[scicos] Fwd: Question about PSPECSCOPE_с in Modnum toolbox > > > Dear ScicosLab and Scilab community! > > I have a question about Modnum toolbox, but can't get response from its > developer. > Can anybody help me? > > With best regards, > maintainer of Mathieu functions toolbox for Scilab > <http://atoms.scilab.org/toolboxes/Mathieu>, > IEEE member, Ph.D., > Nikolay Strelkov. > > > ---------- Forwarded message ---------- > From: Nikolay Strelkov <n.strel...@ieee.org> > Date: 2014-12-13 1:13 GMT+03:00 > Subject: Question about PSPECSCOPE_с in Modnum toolbox > To: alan.la...@cermics.enpc.fr > > > Dear Alan! > > Thank you for your great Modnum toolbox. I use it from 2009 year for > modelling of some control system elements. > > Today I use Modnum 4.3b with ScicosLab 4.4.1. > I want to create a simple demo with PSPECSCOPE_с block for calculating and > plotting FFT spectrum of a simple sine wave. > > As a starting point I created small file in Scilab 5.5.1 which plots and > calculates FFT spectrum. It is in attachment, and it works as I expect. > > I created Scicos model file, but I can't understand how to set correct > options for PSPECSCOPE_с block for getting expected FFT. The model file is > in attachment. > > Could you please help me to set up PSPECSCOPE_с block? > > With best regards, > maintainer of Mathieu functions toolbox for Scilab > <http://atoms.scilab.org/toolboxes/Mathieu>, > IEEE member, Ph.D., > Nikolay Strelkov. > > >
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users