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 Solvers487
Suggested Problems
-
3826 Solvers
-
Sum all integers from 1 to 2^n
18264 Solvers
-
Duplicate each element of a vector.
639 Solvers
-
find the roots of a quadratic equation
243 Solvers
-
Matlab Basics - Create a row vector
317 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!