问题描述:
MATLAB 新手
clc;
clear;
x=[4.9 3.2 100 1.5 9.75 2.56 16 4.9 10]
y=x.^3+(x-0.98)^2/(x+1.25)^3-5*(x+1/x)^2
为什么的是错误的 Error using ==> mpower
Matrix must be square.
Error in ==> Untitled1 at 4
y=x.^3+(x-0.98)^2/(x+1.25)^3-5*(x+1/x)^2
clc;
clear;
x=[4.9 3.2 100 1.5 9.75 2.56 16 4.9 10]
y=x.^3+(x-0.98)^2/(x+1.25)^3-5*(x+1/x)^2
为什么的是错误的 Error using ==> mpower
Matrix must be square.
Error in ==> Untitled1 at 4
y=x.^3+(x-0.98)^2/(x+1.25)^3-5*(x+1/x)^2
问题解答:
我来补答展开全文阅读