Problem 42923. Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
If x = 5,
y = 4*5/2 = 10
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers181
Suggested Problems
-
26951 Solvers
-
560 Solvers
-
Create a vector whose elements depend on the previous element
750 Solvers
-
Replace every 3rd element in a vector with 4
258 Solvers
-
Determine if input is divisible by three.
234 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!