view examples/@polynomial/roots.m @ 9284:567e3e4ab74d

fix up examples/@polynomial
author Robert T. Short <octave@phaselockedsystems.com>
date Sun, 31 May 2009 21:11:31 -0700
parents
children
line wrap: on
line source

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