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 Solvers265
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
1130 Solvers
-
Compute a dot product of two vectors x and y
977 Solvers
-
Determine the number of odd integers in a vector
706 Solvers
-
Simple equation: Annual salary
4168 Solvers
-
Matlab Basics - Convert a row vector to a column vector
617 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!