matlab老是提示?f= | Error:Expression or statement is incomplete
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/09/28 01:17:03
matlab老是提示?f= | Error:Expression or statement is incomplete or incorrect.
f=
[67200,67200,96000,96000,64800,64800,69120,64800,57600,64800,43200,135000,92160,100000,672
00,67200,96000,96000,64800,64800,69120,64800,57600,64800,43200,135000,92160,100000,92160,1
00000,57600,64800,43200,135000,92160,100000,92160,92160,100000,92160,100000,92160,92160,50
000,86400];
D=[64,88,193 ,193,128 ,120,120,120,110,120 ,64,247 ,190 ,210,70 ,85 ,192 ,195 ,128 ,
120,120,120,110,160,70 ,256 ,190,210,190,205,110,160,70,256 ,190,210,
190 ,190,210,200,150 ,150,180,70,120];
M=-0.9*D;
N=0.8*D;
A=[N;M];
b=[5600;5600];
[x,fval]=bintprog(f,A,b)
f=
[67200,67200,96000,96000,64800,64800,69120,64800,57600,64800,43200,135000,92160,100000,672
00,67200,96000,96000,64800,64800,69120,64800,57600,64800,43200,135000,92160,100000,92160,1
00000,57600,64800,43200,135000,92160,100000,92160,92160,100000,92160,100000,92160,92160,50
000,86400];
D=[64,88,193 ,193,128 ,120,120,120,110,120 ,64,247 ,190 ,210,70 ,85 ,192 ,195 ,128 ,
120,120,120,110,160,70 ,256 ,190,210,190,205,110,160,70,256 ,190,210,
190 ,190,210,200,150 ,150,180,70,120];
M=-0.9*D;
N=0.8*D;
A=[N;M];
b=[5600;5600];
[x,fval]=bintprog(f,A,b)
你的数据输入有误,在每一行的结尾处有空格和换行,去掉就好了
matlab提示:Incomplete or misformed expression or statement.
matlab提示Error:Incomplete or misformed expression or statemen
matlab 数值解法老是提示出is not a valid expression or equation.
Matlab解方程组时 提示错误' is not a valid expression or equation.下面的程
Matlab解方程时提示错误“**is not a valid expression or equation.”
matlab程序运行出现the statement is incomplete的错误,下面是程序,请问怎样解决
matlab中function和end问题,错误提示This statement is not inside any f
Matlab程序应该没错啊,但是老是运行不出来,提示:Error in conv (line 39) c = conv2
MATLAB 程序错误?Input argument "f" is undefined.Error in ==> jun
matlab!Input argument "f" is undefined.Error in ==> agui_bis
MATLAb 提示The expression to the left of the equals sign is no
matlab提示 The expression to the left of the equals sign is no