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 Solvers277
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2510 Solvers
-
Generate a random matrix A of (1,-1)
337 Solvers
-
Sum the numbers on the main diagonal
590 Solvers
-
526 Solvers
-
303 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!