function y = (x)squared
y = x; end
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers112
Suggested Problems
-
Find the sum of all the numbers of the input vector
55983 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15825 Solvers
-
6466 Solvers
-
2479 Solvers
-
Count decimal digits of a number
238 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I suggest looking at more Cody examples to understand the structure of the problem statement, function definition, and test suite.