Write a function that takes matrix A, and squares each element in the matrix
example: A = [1 2 3]
output = [1 4 9]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers484
Suggested Problems
-
6989 Solvers
-
Swap the first and last columns
23012 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2579 Solvers
-
Magic is simple (for beginners)
11592 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
602 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!