view examples/@polynomial/roots.m @ 17514:96cf8ee3440e

text.m: Match variable names to documentation. * scripts/plot/text.m: Improve docstring. Rename variable 'label' to 'string' to match docstring.
author Rik <rik@octave.org>
date Wed, 25 Sep 2013 17:21:31 -0700
parents 567e3e4ab74d
children
line wrap: on
line source

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