matlab写个表达式,提示 Unbalanced or unexpected parenthesis or brack
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/24 00:16:13
matlab写个表达式,提示 Unbalanced or unexpected parenthesis or bracket
syms y x1 x2
>> x1=1:10;
>> x2=2:11;
>> y=20+(x1.)^2+(x2.)^2-10*(cos(2*pi*x1)+cos(2*pi*x2));
y=20+(x1.)^2+(x2.)^2-10*(cos(2*pi*x1)+cos(2*pi*x2));
|
Error:Unbalanced or unexpected parenthesis or bracket.
怎么破
syms y x1 x2
>> x1=1:10;
>> x2=2:11;
>> y=20+(x1.)^2+(x2.)^2-10*(cos(2*pi*x1)+cos(2*pi*x2));
y=20+(x1.)^2+(x2.)^2-10*(cos(2*pi*x1)+cos(2*pi*x2));
|
Error:Unbalanced or unexpected parenthesis or bracket.
怎么破
是括号不匹配的意思
这里y=20+(x1.)^2+(x2.)^2-10*(cos(2*pi*x1)+cos(2*pi*x2));要改写为
y=20+(x1).^2+(x2).^2-10*(cos(2*pi*x1)+cos(2*pi*x2));
这里y=20+(x1.)^2+(x2.)^2-10*(cos(2*pi*x1)+cos(2*pi*x2));要改写为
y=20+(x1).^2+(x2).^2-10*(cos(2*pi*x1)+cos(2*pi*x2));
matlab 出错Error: Unbalanced or unexpected parenthesis or brac
matlab中输入下面语句显示Error:Unbalanced or unexpected parenthesis or
关于matlab的Error:Unbalanced or misused parentheses or brackets
MATLAB错误:Unbalanced or misused parentheses or brackets,
matlab提示Error:Incomplete or misformed expression or statemen
matlab提示:Incomplete or misformed expression or statement.
Pls translate the words or sentence parenthesis into Chinese
Use the past simple or past continuous of the verbs in brack
plan or arrange something根据英文提示写单词
根据英文提示写单词 plan or arrange something
根据英文提示写单词 understand or know something
matlab错误提示?One or more output arguments not assigned during