Find the pattern behind each element of the matrix.
mat_pattern(1) = 1;
mat_pattern(3) = [
1 2 3
2 4 6
3 6 9];
mat_pattern(4) = [
1 2 3 4
2 4 6 8
3 6 9 12
4 8 12 16];
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers98
Suggested Problems
-
Return the 3n+1 sequence for n
8512 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2575 Solvers
-
722 Solvers
-
Getting the indices from a matrix
731 Solvers
-
6277 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!