Re: [Scilab-users] Inconsistency in polynomial coefficient order?

2019-10-26 Thread Stéphane Mottelet
Hello I think this is due to the Matlab convention, as filter syntax is the same in Scilab. S. > Le 25 oct. 2019 à 23:25, Federico Miyara a écrit : > >  > Dear all, > > I'm somewhat puzzled by what appears to be an inconsistency in polynomial > coefficient order. > > Consider the

[Scilab-users] Inconsistency in polynomial coefficient order?

2019-10-25 Thread Federico Miyara
Dear all, I'm somewhat puzzled by what appears to be an inconsistency in polynomial coefficient order. Consider the polynomial A = 1 + 2*x + 3*x^2; If I want to create it using poly I must write A = poly([1 2 3], 'x', 'coeff'); But if I want to use it as the denominator of a filter (whose