Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1).
'1010' -> '100100' '0110' -> '001100' '1000' -> '10000' '1111' -> '1111'
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more