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 Solvers263
Suggested Problems
-
7200 Solvers
-
Find the alphabetic word product
3258 Solvers
-
1392 Solvers
-
Create a vector whose elements depend on the previous element
626 Solvers
-
Generate a random matrix A of (1,-1)
295 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!