Cody

Solution 714059

Submitted on 13 Aug 2015 by Muthu Annamalai
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
%% x = int8.empty(3,0); y_correct = []; assert(isequal(funny(x),y_correct))

2   Pass
%% text=fileread('funny.m'); assert(isempty(strfind(text,'[]'))) assert(isempty(strfind(text,'empty')))

Suggested Problems

More from this Author1