【这段matlab程序怎么优化m=1;A=[035.57.591010];B=[03689.510.511];C=[046.58.5999];D=[03.567.58.599];fori=1:7forj=1:7fork=1:7forl=1:7ifi+j+k+l==10d(m)=A(i)+B(j)+C(k)+D(l);E(m,1)=i;E(m,2)=j;E(m,3)=k;E(m,4)=l;m=m+1;enden】
这段matlab程序怎么优化
m=1;
A=[035.57.591010];
B=[03689.510.511];
C=[046.58.5999];
D=[03.567.58.599];
fori=1:7
forj=1:7
fork=1:7
forl=1:7
ifi+j+k+l==10
d(m)=A(i)+B(j)+C(k)+D(l);
E(m,1)=i;
E(m,2)=j;
E(m,3)=k;
E(m,4)=l;
m=m+1;
end
end
end
end
end