Find the pattern behind the elements of the matrix.
mat_pattern(3) = [
0 0 1
1 1 0
1 0 0];
mat_pattern(4) = [
0 1 0 1
1 0 0 0
1 1 1 0
0 0 0 0];
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers62
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1743 Solvers
-
The Hitchhiker's Guide to MATLAB
3419 Solvers
-
Determine Whether an array is empty
815 Solvers
-
Let's get back to school, and create multiplication tables
241 Solvers
-
1764 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!
i dont see any pattern here.
Asif: think about where the ones are, and keep in mind that there's two kinds of indexing in MATLAB, n-dimensional and linear.