Cody

Solution 1572138

Submitted on 30 Jun 2018 by Srishti Saha
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   Pass
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 = "MATLABian" ans = 1×2 string array "MATLABian" "My name" ans = 1×3 string array "MATLABian" "My name" "kjhsdfs" ans = "MATLABian My name kjhsdfs"

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

ans = "This" ans = 1×2 string array "This" "is" ans = 1×3 string array "This" "is" "MATLAB" ans = "This is MATLAB"

Suggested Problems

More from this Author22