Find the pattern behind the elements of the matrix.
mat_pattern(3) = [
2 5 5
5 5 10
5 10 10];
mat_pattern(4) = [
2 5 5 10
5 5 10 10
5 10 10 17
10 10 17 17];
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers51
Suggested Problems
-
Swap the first and last columns
22752 Solvers
-
1794 Solvers
-
Project Euler: Problem 3, Largest prime factor
1794 Solvers
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!