CSP2d_rectangle.m

时间:2022-06-21 10:07:45
【文件属性】:

文件名称:CSP2d_rectangle.m

文件大小:7KB

文件格式:M

更新时间:2022-06-21 10:07:45

20

function optseg = CSP2d_rectangle a=203; b=114.5; L=2799 ; W=1500; l=2*a; w=2*b; % L=4000; % W=1500; % l=215; % w=154; % L=10.1; % W=6.2; % l=2.1; % w=1.2; blnk=16; nmax=100; crcn=5; WL=[L 0]; % % % dfig=figure; % % optPattern=[0 0 floor(L/l) floor(W/w)]; %n=1 seperate with n>=2 patternlist={{[0 W],optPattern}}; Nopt=floor(L/l)*floor(W/w); if rem(L,l)==0&&rem;(W,w)==0 bricklist=patternlist{1}{2}; drawbrick(bricklist,Nopt) optseg=Nopt; return end n=2;%n>=2 while n<=nmax %


网友评论