Problem 2971. square a vector-Given the variable x as your input, square it and put the result in y.

function y = (x)squared

 y = x;
end

Solution Stats

48.43% Correct | 51.57% Incorrect
Last Solution submitted on Aug 24, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers103

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!