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 Solvers105112
Suggested Problems
-
2969 Solvers
-
Renaming a field in a structure array
1551 Solvers
-
Flag largest magnitude swings as they occur
681 Solvers
-
905 Solvers
-
568 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!