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 comments
Loading...
Problem Recent Solvers292
Suggested Problems
-
7871 Solvers
-
Increment a number, given its digits
687 Solvers
-
Project Euler: Problem 5, Smallest multiple
1666 Solvers
-
229 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2186 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!