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 Solvers1040
Suggested Problems
-
Sum all integers from 1 to 2^n
17380 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
Replace multiples of 5 with NaN
466 Solvers
-
641 Solvers
-
839 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!