view examples/@polynomial/roots.m @ 12312:b10ea6efdc58 release-3-4-x ss-3-3-91

version is now 3.3.91
author John W. Eaton <jwe@octave.org>
date Mon, 31 Jan 2011 08:36:58 -0500
parents 567e3e4ab74d
children
line wrap: on
line source

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