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
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers417
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1336 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
178 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Fahrenheit to Celsius converter
612 Solvers
-
Matlab Basics - y as a function of x
533 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!
I never knew this was possible. Thanks for introducing the topic.