Statistics
MATLAB Answers
0 Questions
1 Answer
RANK
208,802
of 301,984
REPUTATION
0
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,478
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 177,880
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
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;
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 years ago | 0
