roots.m

来自「精通matlab7 源码」· M 代码 · 共 16 行

M
16
字号
function [z,p]=roots(r)%ROOTS Find Roots of Rational Polynomial Objects. (MM)% ROOTS(R) returns the roots of the numerator of R.% [Z,P]=ROOTS(R) returns the zeros and poles of R in% Z and P respectively.% D.C. Hanselman, University of Maine, Orono ME 04469% 3/27/98% Mastering MATLAB 6, Prentice Hall, ISBN 0-13-019468-9z=roots(r.n);if nargout==2	p=roots(r.d);end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?