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 commentsProblem Recent Solvers151
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
5934 Solvers
-
How to find the position of an element in a vector without using the find function
2694 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1037 Solvers
-
10260 Solvers
-
698 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!