view examples/polynomial/mtimes.m @ 8223:0c91b9a17dcf

Commit missing files from previous change
author David Bateman <dbateman@free.fr>
date Thu, 16 Oct 2008 09:20:58 +0100
parents
children
line wrap: on
line source

function y = mtimes (a, b)
  ap = double (a);
  bp = double (b);
  y = polynomial (filter (ap, 1, [bp(:).', zeros(1, length(bp) - 1)]));
endfunction