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
-
28337 Solvers
-
Determine the number of odd integers in a vector
860 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
738 Solvers
-
364 Solvers
-
487 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.