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
-
Find the longest sequence of 1's in a binary sequence.
6870 Solvers
-
Convert a numerical matrix into a cell array of strings
2573 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
984 Solvers
-
60 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.