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 Solvers378
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2530 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
642 Solvers
-
Generate N equally spaced intervals between -L and L
941 Solvers
-
371 Solvers
-
6239 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!