首页 › 答案 › 题库 › 慕课 › 未分类

在MATLAB命令行窗口输入下列命令: p=[1,-2]; x=roots(p)则x的值为()。

在MATLAB命令行窗口输入下列命令: p=[1,-2]; x=roots(p)则x的值为()。
A.2
B. -2
C.1
D.-1
正确答案:2