[scilab-Users] remez function broken?

Vincent COUVERT vincent.couvert at scilab.org
Wed Jan 19 09:27:55 CET 2011


Hi,

Which version of Scilab do you use? which OS?

Do not hesitate to report a bug: http://bugzilla.scilab.org/

Regards,
Vincent

Le 17/01/11 18:54, Dean Parsons a écrit :
> *Is Scilab's remez function broken? When I try to use it it always 
> returns an empty matrix [ ].*
> **
> *For example:*
> **
> *-->nc = 21;
>
> -->ngrid=10240;
>
> -->fg = linspace(0,0.22,ngrid/2);
>
> -->fg = [fg linspace(0.25,0.5,ngrid/2)];
>
> -->x = fg(1:ngrid/2)/128;
>
> -->ds(1:ngrid/2)=ones(1:ngrid/2);
>
> -->ds(ngrid/2+1:ngrid)=zeros(1:ngrid/2);
>
> -->wt=ones(fg);
>
> -->an=remez(nc,fg,ds,wt)
>  an  =
>
>      []
> *
> *Dean Parsons*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110119/fe570f59/attachment.htm>


More information about the users mailing list