Cody

Solution 492605

Submitted on 28 Aug 2014 by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

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

M = [12368] [12345] [68221] [53311] [38199] M = 12345 12368 38199 53311 68221 k = 2 1 5 4 3 ans = 1.0e+12 * 0.0000 0.0000 3.8200 0.0000 0.0000

Suggested Problems