view examples/@polynomial/roots.m @ 11253:093c9facf0f0

Add saveas function
author Kai Habel <kai.habel@gmx.de>
date Mon, 15 Nov 2010 19:41:14 +0100
parents 567e3e4ab74d
children
line wrap: on
line source

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