Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Incorrect

19Size
Leading solution size is 10.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Fail
 
%%
y_correct ='Helvetica'
assert(isequal(your_fcn_name,y_correct));
Error: Assertion failed.
2
Pass
 
%% Prevents cheating 16-Apr-2012 which would lead a solution of size 9
filetext = fileread('your_fcn_name.m')
 assert(isempty(strfind(filetext, 'Helvetica')))
filetext =
function ans = your_fcn_name
char([104  101  108  118  101  116  105   99   97])
end
%This code written by profile_id 1928729