Problem 357. Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody.
Return as a string the name of the input variable to the function (as named in the parent workspace)
Example:
if the function was called as such: my_variable=[]; y=inputvariable(my_variable);
y would equal 'my_variable'.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers267
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49343 Solvers
-
Back to basics 25 - Valid variable names
324 Solvers
-
Cell Counting: How Many Draws?
1902 Solvers
-
Is this triangle right-angled?
5814 Solvers
-
515 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!