view examples/@polynomial/roots.m @ 10751:717ba2c3eef1

rewrite cell2struct, 1 failing test
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 25 Jun 2010 08:45:22 +0200
parents 567e3e4ab74d
children
line wrap: on
line source

function y = roots (p)
  y = roots(fliplr(p.poly));
endfunction