translating from matlab

D M michelidea at hotmail.com
Fri Oct 3 15:12:05 CEST 2008


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