Problem 43651. create a square matrix
create a [n*n] matrix. example:
mat(4)= [ 1 4 9 16 4 4 9 16 9 9 9 16 16 16 16 16]
Solution Stats
Problem Comments
Solution Comments
Show commentsGroup

Matrix Patterns III
- 12 Problems
- 47 Finishers
- Make a diamond
- Dice face matrix!
- Produce the following matrix
- Check if a matrix is a palindrome in all directions
- Form a square matrix from four square sub-matrices
- Create a square matrix with given conditions
- create a square matrix
- Tent matrix
- Vandermonde Matrix
- Union Jack Matrix
- Make a rainbow matrix (follow-up to checkerboard matrix)
- Diagonal Pattern
Problem Recent Solvers163
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!