Cody

Problem 357. Back to basics 13 - Input variables

Solution 175226

Submitted on 9 Dec 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
%% my_variable = []; y_correct = 'my_variable'; assert(isequal(inputvariable(my_variable),y_correct))

Error: Assertion failed.

2   Fail
%% another_variable = []; y_correct = 'another_variable'; assert(isequal(inputvariable(another_variable),y_correct))

Error: Assertion failed.

Suggested Problems

More from this Author39

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!