Community Profile

photo

Shashank Sharma


Last seen: 3 years ago Active since 2015

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How can i create the below Matrix most elegantly using two for loops.
|1 8 15| |2 9 16| |3 10 17| |4 11 18| |5 12 19| |6 13 20| |7 14 21| i tried doing: for i=1:21; ...

9 years ago | 1 answer | 0

1

answer