Problem 2971. square a vector-Given the variable x as your input, square it and put the result in y.
49.07% Correct | 50.93% Incorrect
Last Solution submitted on Mar 13, 2023
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
Simple equation: Annual salary
Sum of odd numbers in a matrix
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!