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 Solvers88
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2075 Solvers
-
Back to basics 21 - Matrix replicating
1831 Solvers
-
1469 Solvers
-
The sum of the numbers in the vector
649 Solvers
-
517 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.