[Scilab-users] Difference btween flts and filter
Dear all, I would like to know if there is a fundamental difference between functions flts and filter. For instance performance, accuracy, speed, versatility... I had asked some time ago but had no answer. Thanks. Regards, Federico Miyara <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> -- El software de antivirus Avast ha analizado este correo electrónico en busca de virus. https://www.avast.com/antivirus ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Inconsistency in polynomial coefficient order?
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 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Inconsistency in polynomial coefficient order?
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 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 > > Libre de virus. www.avast.com > ___ > users mailing list > users@lists.scilab.org > https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users