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 Solvers85
Suggested Problems
-
Select every other element of a vector
36392 Solvers
-
Increment a number, given its digits
686 Solvers
-
Check if number exists in vector
13912 Solvers
-
Find last zero for each column
700 Solvers
-
290 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.