[Scilab-users] Inconsistency in polynomial coefficient order?

Federico Miyara fmiyara at fceia.unr.edu.ar
Fri Oct 25 23:25:19 CEST 2019


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 numerator 
we can call B) I must write

y = filter(B, [3 2 1], x);

Is there a reason for this?

Regards,

Federico Miyara


-- 
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191025/2ab63a47/attachment.htm>


More information about the users mailing list