📄 resolve_polynomial.m
字号:
%roots
%Polynomial roots Syntaxr = roots(c)
%Description
%r = roots(c)
%returns a column vector whose elements are the roots of the polynomial c.
%Row vector c contains the coefficients of a polynomial, ordered in
%descending powers. If c has n+1 components, the polynomial it represents is .
c=input('多项式s^3-6s^2-72,输入格式为p = [1 -6 -72 -27];请输入一个多项式:');
r=roots(c)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -