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 Solvers270
Suggested Problems
-
Least common multiple of many numbers
244 Solvers
-
Test if two numbers have the same digits
250 Solvers
-
Sum the elements in either diagonal of a square matrix
213 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1169 Solvers
-
Sum the 'edge' values of a matrix
364 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!