gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-30/testclass/@polynom/roots.m
function r = roots(p) % POLYNOM/ROOTS. ROOTS(p) is a vector containing the roots of p. r = roots(p.c);