Cody

Solution 713926

Submitted on 12 Aug 2015 by Yuan
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))

ans = []

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

Suggested Problems

More from this Author1