MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice.
in->[2 3 NaN 5] and out->[2 2 3 3 NaN NaN 5 5]