matlab 出错Error: Unbalanced or unexpected parenthesis or bracket.M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};? M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 04:12:00
matlab 出错Error: Unbalanced or unexpected parenthesis or bracket.M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};? M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};
matlab 出错Error: Unbalanced or unexpected parenthesis or bracket.
M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};
? M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};
|
Error: Unbalanced or unexpected parenthesis or bracket.
matlab 出错Error: Unbalanced or unexpected parenthesis or bracket.M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};? M=sqrt(L1*L2*P)*exp{j*w*(t-T2)}*sin{B1*cos[r*(t-T2)]}*sin{B2*cos[r*(t-T1)]};
% Matlab 大中括弧号有特殊意义
>> syms L1 L2 P j w T2 B1 B2 r t T1
M=sqrt(L1*L2*P)*exp(j*w*(t-T2))*sin(B1*cos(r*(t-T2)))*sin(B2*cos(r*(t-T1)))
M =
(L1*L2*P)^(1/2)*exp(j*w*(t-T2))*sin(B1*cos(r*(t-T2)))*sin(B2*cos(r*(t-T1)))