MATLAB Error: Missing variable or function.clear;u1 = 380;u2 = 380* ( -1./2 -j* sqrt(3) ./2) ;u3 = 380* ( -1./2 + j* sqrt(3) ./2) ;A =[1 1 1 0 0 0;1 0 0 -1 0 1;0 0 1 0 1 -1;5-5 0 15 0 0;0 5 -5 0 10 0;0 0 0 15 10 6]
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 22:00:16
MATLAB Error: Missing variable or function.clear;u1 = 380;u2 = 380* ( -1./2 -j* sqrt(3) ./2) ;u3 = 380* ( -1./2 + j* sqrt(3) ./2) ;A =[1 1 1 0 0 0;1 0 0 -1 0 1;0 0 1 0 1 -1;5-5 0 15 0 0;0 5 -5 0 10 0;0 0 0 15 10 6]
MATLAB Error: Missing variable or function.
clear;
u1 = 380;
u2 = 380* ( -1./2 -j* sqrt(3) ./2) ;
u3 = 380* ( -1./2 + j* sqrt(3) ./2) ;
A =[1 1 1 0 0 0;1 0 0 -1 0 1;0 0 1 0 1 -1;5
-5 0 15 0 0;0 5 -5 0 10 0;0 0 0 15 10 6];
B =[0; 0; 0; u1; u2; u3];
disp( 'iU iV iW iUV iVW iWU');
I = inv(A) * B
h = compass(I) ;
为什么运行是这样的
? u2 = 380* ( -1./2 -j* sqrt(3) ./2) ;
|
Error: Missing variable or function.
MATLAB Error: Missing variable or function.clear;u1 = 380;u2 = 380* ( -1./2 -j* sqrt(3) ./2) ;u3 = 380* ( -1./2 + j* sqrt(3) ./2) ;A =[1 1 1 0 0 0;1 0 0 -1 0 1;0 0 1 0 1 -1;5-5 0 15 0 0;0 5 -5 0 10 0;0 0 0 15 10 6]
减号和句点符号输入格式不对,拷贝u2 = 380* ( -1./2 -j* sqrt(3)./2) 一下试试.