哪位大侠知道这个MATLAB的错误啊 plot Vectors must be the same lengths.
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/09/27 12:08:02
哪位大侠知道这个MATLAB的错误啊 plot Vectors must be the same lengths.
clear
hold off
r1=0.009008*690/sqrt(3)/945
r2=0.009368*690/sqrt(3)/945
x1=0.072085*690/sqrt(3)/945
x2=0.097094*690/sqrt(3)/945
xm=2.679244*690/sqrt(3)/945
ku=690/1300
ki=945/456
n=1
m=1
j=1
u1=690/sqrt(3)
for s=0.3:-0.1:0.1 -0.1:-0.1:-0.3
for t1=0:1:10
t=t1*pi/180
for u21=400:-100:0 -100:-100:-400 %线电压
u2=ku*u21*(cos(t)+sin(t)*i)/sqrt(3)
i11=u1/(r1+x1*i+xm*i*(r2/s+x2*i)/(r2/s+(x2+xm)*i))
i21=i11*xm*i/(r2/s+(x2+xm)*i)
i22=u2./((r2+x2*s*i)+(r1+x1*i)*xm*s*i/(r1+(x1+xm)*i))
i12=xm*i*i22/(r1+(x1+xm)*i)
i1=i12-i11
i2=i22-i21
thetai1=(angle(i1))*180/pi
thetai2=(angle(i2))*180/pi
hold off
real_i2=abs(i2)/ki
if real_i2
clear
hold off
r1=0.009008*690/sqrt(3)/945
r2=0.009368*690/sqrt(3)/945
x1=0.072085*690/sqrt(3)/945
x2=0.097094*690/sqrt(3)/945
xm=2.679244*690/sqrt(3)/945
ku=690/1300
ki=945/456
n=1
m=1
j=1
u1=690/sqrt(3)
for s=0.3:-0.1:0.1 -0.1:-0.1:-0.3
for t1=0:1:10
t=t1*pi/180
for u21=400:-100:0 -100:-100:-400 %线电压
u2=ku*u21*(cos(t)+sin(t)*i)/sqrt(3)
i11=u1/(r1+x1*i+xm*i*(r2/s+x2*i)/(r2/s+(x2+xm)*i))
i21=i11*xm*i/(r2/s+(x2+xm)*i)
i22=u2./((r2+x2*s*i)+(r1+x1*i)*xm*s*i/(r1+(x1+xm)*i))
i12=xm*i*i22/(r1+(x1+xm)*i)
i1=i12-i11
i2=i22-i21
thetai1=(angle(i1))*180/pi
thetai2=(angle(i2))*180/pi
hold off
real_i2=abs(i2)/ki
if real_i2
t1有9个数,right_valuei2(:,j)只有7个数,肯定会
Error using plot
Vectors must be the same lengths.
Error using plot
Vectors must be the same lengths.
哪位大侠知道这个MATLAB的错误啊 plot Vectors must be the same lengths.
matlab plot 提示错误:Vectors must be the same lengths!
为什么matlab程序老是报 plot Vectors must be the same lengths.的错误?..
matlab的Vectors must be the same lengths.错误
MATLAB运行错误:Error using plot Vectors must be the same lengths
matlab中错误vectors must be the same lengths 是怎么回事?
求matlab高手~Error using plot Vectors must be the same lengths问
Matlab Error using ==> plot Vectors must be the same lengths
matlab问题Vectors must be the same lengths.
matlab运行遇到问题:Vectors must be the same lengths.
matlab提示“Vectors must be the same lengths.
跪等!matlab中Vectors must be the same lengths