view examples/@polynomial/roots.m @ 15163:886d1fc9d575 gui

GUI branch merged in, closing the GUI branch
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 13 Aug 2012 11:01:26 -0400
parents 567e3e4ab74d
children
line wrap: on
line source

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