Cody

Solution 1564644

Submitted on 19 Jun 2018
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   Fail
str='MATLABian'; str1='My name'; str3='kjhsdfs'; y_correct ='MATLABian My name kjhsdfs'; assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)

Undefined function 'strcatstrcat' for input arguments of type 'cell'. Error in your_fcn_name (line 2) y=strcatstrcat(str,{' '},str1,{' '},str3); Error in Test1 (line 5) assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)

2   Fail
str='This'; str1='is'; str3='MATLAB'; y_correct ='This is MATLAB'; assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)

Undefined function 'strcatstrcat' for input arguments of type 'cell'. Error in your_fcn_name (line 2) y=strcatstrcat(str,{' '},str1,{' '},str3); Error in Test2 (line 5) assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)