Find the pattern behind each element of the matrix.
mat_pattern(3) = [
1 0 1
0 1 0
1 0 1];
mat_pattern(2) = [
1 1;
0 0];
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers87
Suggested Problems
-
Sum all integers from 1 to 2^n
17967 Solvers
-
987 Solvers
-
Determine if input is a Narcissistic number
220 Solvers
-
1656 Solvers
-
Solve a System of Linear Equations
14804 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!
See also Cody Problem 4.