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 Solvers278
Suggested Problems
-
Create a vector whose elements depend on the previous element
738 Solvers
-
Calculate distance travelled when given radius and rotations
231 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
253 Solvers
-
314 Solvers
-
2154 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!