仅供参考
l=[1 2 3 4 5 6 7 8 9 10 11 12];
P=5;
A=6;
Me=[];
for i=1:length(l)
Me{i}={[156,22*l(i),54,-13*l(i);22*l(i),4*l(i)^2,13*l(i),-3*l(i)^2;54,13*l(i),156,-22*l(i);-13*l(i),-3*l(i)^2,-22*l(i),4*l(i)^2]*P*A*l(i)/420};
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!