MATLAB-元胞自動機-激發介質( BZ reaction or heart)

%CA driver %excitable media clf; clear all n=128; z=zeros(n,n); cells=z; cells = (rand(n,n))<.1 ; %cells(n/2,n*.25:n*.75) = 1; %cells(n*.25:n*.75,n/2) = 1; sum=z; imh = image(cat(3,cells,z,z)); set(im
相關文章
相關標籤/搜索