Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 291250

Submitted on 28 Jul 2013 by @bmtran

Correct

26Size
Leading solution size is 10.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
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)

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