matlab的一个简单问题M0 = 1;Gamma = 1;B1 = 1;T = 1;DeltaO = -10:1:10;Mx = M0*Gamma*B1*DeltaO.*[1-cos( (Gamma^2*B1^2+DeltaO.^2)^0.5*T)]/(Gamma^2*B1^2+DeltaO);plot(DeltaO,Mx)Matrix must be square请问哪里错了
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 10:42:09
matlab的一个简单问题M0 = 1;Gamma = 1;B1 = 1;T = 1;DeltaO = -10:1:10;Mx = M0*Gamma*B1*DeltaO.*[1-cos( (Gamma^2*B1^2+DeltaO.^2)^0.5*T)]/(Gamma^2*B1^2+DeltaO);plot(DeltaO,Mx)Matrix must be square请问哪里错了
matlab的一个简单问题
M0 = 1;
Gamma = 1;
B1 = 1;
T = 1;
DeltaO = -10:1:10;
Mx = M0*Gamma*B1*DeltaO.*[1-cos( (Gamma^2*B1^2+DeltaO.^2)^0.5*T)]/(Gamma^2*B1^2+DeltaO);
plot(DeltaO,Mx)
Matrix must be square
请问哪里错了
matlab的一个简单问题M0 = 1;Gamma = 1;B1 = 1;T = 1;DeltaO = -10:1:10;Mx = M0*Gamma*B1*DeltaO.*[1-cos( (Gamma^2*B1^2+DeltaO.^2)^0.5*T)]/(Gamma^2*B1^2+DeltaO);plot(DeltaO,Mx)Matrix must be square请问哪里错了
Mx = M0*Gamma*B1*DeltaO.*[1-cos( (Gamma^2*B1^2+DeltaO.^2)^0.5*T)]/(Gamma^2*B1^2+DeltaO);
少了好多".",改成
Mx = M0*Gamma*B1.*DeltaO.*[1-cos( (Gamma^2*B1^2+DeltaO.^2)^0.5*T)]./(Gamma^2*B1^2+DeltaO);