⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resolve_polynomial.m

📁 这是我学习《MATLAB程序设计与应用》刘卫国、陈昭平  一书时第一章和第二章的课后习题 目录 exponential_e.m exsub.m fheritage.m initiali
💻 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 + -