Community Profile

photo

ANAMIKA YADAV


Active since 2019

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
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;

2 years ago | 0