Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
y_correct ='Helvetica'
assert(isequal(your_fcn_name,y_correct));
y_correct =
Helvetica
|
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 helvet = your_fcn_name
helvet = ['Helvet' 'ica'];
end
%This code written by profile_id 504719
|
Determine if a Given Number is a Triangle Number
322 Solvers
134 Solvers
Back to basics 9 - Indexed References
392 Solvers
Back to basics 13 - Input variables
233 Solvers
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!