Cody

Solution 673073

Submitted on 21 May 2015 by srujana vantikommu
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   Pass
%% n = 10; var3_correct = 10; assert(isequal(varaccess(n),var3_correct))

2   Pass
%% n = 30; var3_correct = 30; assert(isequal(varaccess(n),var3_correct))

3   Pass
%% n = 0.6; var3_correct = 0.6; assert(isequal(varaccess(n),var3_correct))

4   Pass
%% n = 500; var3_correct = 500; assert(isequal(varaccess(n),var3_correct))

5   Pass
%% n = 7.8; var3_correct = 7.8; assert(isequal(varaccess(n),var3_correct))

Suggested Problems

More from this Author1