Cody

Solution 1040330

Submitted on 31 Oct 2016
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)

Error using strjoin Too many input arguments. Error in your_fcn_name (line 2) y = strjoin(s1,s2,s3,' '); Error in TestPoint1 (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)

Error using strjoin Too many input arguments. Error in your_fcn_name (line 2) y = strjoin(s1,s2,s3,' '); Error in TestPoint2 (line 5) assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)

Suggested Problems

More from this Author17