Problem 2971. square a vector-Given the variable x as your input, square it and put the result in y.
Solution Stats
Problem Comments
-
1 Comment
Matthew Eicholtz
on 7 Feb 2015
I suggest looking at more Cody examples to understand the structure of the problem statement, function definition, and test suite.
Problem Recent Solvers101
Suggested Problems
-
3651 Solvers
-
Getting the row and column location from a matrix
275 Solvers
-
923 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
224 Solvers
-
Output a vector which is table of 9
158 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!