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
-
Get the length of a given vector
13529 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2119 Solvers
-
Sum of odd numbers in a matrix
620 Solvers
-
Back to Basics - Find no. of elements in a matrix?
328 Solvers
-
4693 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.