[scilab-Users] translating from matlab
Vincent COUVERT
vincent.couvert at scilab.org
Fri Oct 3 15:30:33 CEST 2008
Hi,
By default Scilab poly takes input values as polynomial coefficients but
Matlab poly takes theses values as roots for polynomial.
Scilab function has an option to precize your input values are coefficients.
Vincent
D M a écrit :
> Hi all,
>
> i'd like to 'port' some matlab scribts from school to scilab.
>
> -----------file.m----------------
> v=[exp(j*pi*10/50) exp(-j*pi*10/50)];
> b=poly(v);
> a=poly(0.9*v);
>
> // frequency response of filter
> ...
> ...
> ----------file.m-----------------
>
> The first line is no problem, but i'm getting in trouble with poly. A poly command exists in scilab, but as far as i know has a different meaning.
> Is there an equivalent to the matlab-poly in scilab? The stuff with the frequency response I will do with frmag, but first I have to solve the poly-problem.
>
> Thank you!
>
> fb
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
More information about the users
mailing list