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
-
6098 Solvers
-
Make a random, non-repeating vector.
11599 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14095 Solvers
-
Matrix multiplication across rows
399 Solvers
-
Find x rows where the sum of the numbers is the maximum
590 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.