Feeds
답변 있음
if we enter n rows and m colums and gets the output of 2n rows and 2m columns
function out=blocks(n,m); out=zeros([n m]*2); out(3:4,1:3)=1; out(1:2,4:6)=1;
if we enter n rows and m colums and gets the output of 2n rows and 2m columns
function out=blocks(n,m); out=zeros([n m]*2); out(3:4,1:3)=1; out(1:2,4:6)=1;
거의 7년 전 | 0
