Solution/MATLAB
[Cody] Problem 1. Times 2 - START HERE
뺚
2023. 8. 22. 19:00
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:
Input x = 2
Output y is 4
Input x = 17
Output y is 34
function y = times2(x)
y = 2 * x;
end