作业帮 > 英语 > 作业

Assignment has more non-singleton rhs dimensions than non-si

来源:学生作业帮 编辑:搜狗做题网作业帮 分类:英语作业 时间:2024/05/15 10:33:16
Assignment has more non-singleton rhs dimensions than non-singleton subscripts
Ly = 51; Lx = 501; t = ones(1,8)*alpha/(2*pi);IIn = ones(8,Lx,Ly);
IEq (i,:,:) = IEq(i,:,:)+ reshape(t*reshape(IIn,8,Lx*Ly),1,Lx,Ly);
Error in ==> radiation at 66
IEq (i,:,:) = IEq(i,:,:)+ reshape(t.*reshape(IIn,8,lx*ly),1,lx,ly); % equilibrinm PDFs
Assignment has more non-singleton rhs dimensions than non-si
Ly = 51;
Lx = 501;
alpha=8;
t = ones(1,8)*alpha/(2*pi);
IIn = ones(8,Lx,Ly);
IEq=zeros(10,501,51);
for i=1:1
IEq(1,:,:)=IEq(1,:,:)+reshape(t*reshape(IIn,8,Lx*Ly),1,Lx,Ly);
end
IEq
运行后,不知是否是您想要的结果?
没有出现您所说的那个问题.
分分分,哈哈
再问: 能往我的邮箱haorizi2008.cool@163.com里发个消息么,耽误你点时间,我把程序给你发过去,一定采纳,并且一定多追加。耽误你的时间了