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 159015

Submitted on 7 Nov 2012 by Dieter

Correct

55Size
Leading solution size is 9.
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 = [12368933, 12345931, 68221, 533111, 3819999999999];
y_correct = [12345931, 12368933, 3819999999999, 533111, 68221];
assert(isequal(your_fcn_name(x),y_correct))
ans =
   1.0e+12 *
    0.0000    0.0000    3.8200    0.0000    0.0000