This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Tomas Macha
on 2 Oct 2016
Why is this not working please?
a = ones(n,n);
for i = 1:n^2;
a(i) = i;
end
a = a'
I've tried this in school and it worked fine... :O Could you please help and explain? :)
Allen
on 10 Oct 2017
Look closer at the requirements. Even rows should be flipped, such that their values are in descending order when reading from left-to-right.
Suggested Problems
-
Extract leading non-zero digit
2189 Solvers
-
1746 Solvers
-
277 Solvers
-
750 Solvers
-
559 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!