Problem 1. Times 2 - START HERE
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
Solution Stats
Problem Comments
-
124 Comments
Show
121 older comments
Shardul
on 26 Jan 2025
basic
Anand
on 6 Feb 2025
mast tha bhai
Ilya
on 26 Mar 2025 at 4:40
my dog solved this with his paws tied behind his back, easy
Solution Comments
Show commentsProblem Recent Solvers105259
Suggested Problems
-
2546 Solvers
-
1357 Solvers
-
First non-zero element in each column
875 Solvers
-
Replace multiples of 5 with NaN
449 Solvers
-
Find out sum and carry of Binary adder
1538 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!