Problem 2980. multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y.
Examples: Input x = 2 Output y is 6 Input x = 10 Output y is 30
Solution Stats
Problem Comments
-
2 Comments
Adi Zabidi
on 27 Dec 2016
nice
David Verrelli
on 5 Feb 2018
Duplicate of Problem 2983.
Solution Comments
Show commentsProblem Recent Solvers956
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
50185 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
241 Solvers
-
Sum the squares of numbers from 1 to n
249 Solvers
-
984 Solvers
-
Double all elements in the array
1717 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!