Cody

Solution 1572137

Submitted on 30 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)

ans = 1×2 string array "MATLABian" " " ans = 1×4 string array "MATLABian" " " "My name" " " ans = 1×5 string array "MATLABian" " " "My name" " " "kjhsdfs" ans = "MATLABian My name kjhsdfs"

Assertion failed.

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

ans = 1×2 string array "This" " " ans = 1×4 string array "This" " " "is" " " ans = 1×5 string array "This" " " "is" " " "MATLAB" ans = "This is MATLAB"

Assertion failed.