Problem 2784. Y=X
Given an input variable x, output a variable y that is equal in value to x.
Example:
Input x = 1 Output y is 1
Input x = 5 Output y is 5
Solution Stats
Problem Comments
-
1 Comment
Timothy Greco
on 1 Jun 2016
Not as simple as it seems.
Solution Comments
Show commentsProblem Recent Solvers936
Suggested Problems
-
Return the 3n+1 sequence for n
8110 Solvers
-
Program an exclusive OR operation with logical operators
705 Solvers
-
728 Solvers
-
412 Solvers
-
Matlab Basics II - Count rows in a matrix
363 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!