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 270973

Submitted on 2 Jul 2013 by Clemens Giegerich

Correct

17Size
Leading solution size is 12.
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
 
%%
x = 'Nara3@# bangla bang purus%$# bang-bang swamy&^%$';
y = 'Nara3@# bangla bang-bang purus%$# bang swamy&^%$';
assert(isequal(y,Bangalore(x)))

                    
2
Pass
 
%%
x = 'Bang Xbang-bang upadhy3@# bang-bang swarg%$# bang-bang kumar&^%$';
y = 'Bang-bang Xbang-bang upadhy3@# bang swarg%$# bang kumar&^%$';
assert(isequal(y,Bangalore(x)))