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
-
Swap the first and last columns
23161 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2583 Solvers
-
Unique values without using UNIQUE function
455 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
735 Solvers
-
11164 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.