Problem 2429. Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers288
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
The Answer to Life, the Universe, and Everything
573 Solvers
-
Create matrix of replicated elements
395 Solvers
-
Calculate distance travelled when given radius and rotations
240 Solvers
-
382 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!