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 Solvers171
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15485 Solvers
-
Back to basics 6 - Column Vector
1055 Solvers
-
505 Solvers
-
Output any real number that is neither positive nor negative
389 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
148 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!