Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 3 5 7 9 11 13 15 17 19];
y=[ 1 4 7 10 13 16 19 22 25 28];
y_correct = [ 1 12 35 70 117 176 247 330 425 532];
assert(isequal(your_fcn_name(x,y),y_correct))
|
2 | Pass |
x = [1 12 23 34 45 56 67 78 89 100];
y=[ 1 -10 -21 -32 -43 -54 -65 -76 -87 -98];
y_correct = [ 1 -120 -483 -1088 -1935 -3024 -4355 -5928 -7743 -9800];
assert(isequal(your_fcn_name(x,y),y_correct))
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
525 Solvers
424 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
231 Solvers
Matlab Basics II - Create a vector with a repeated entry
138 Solvers
90 Solvers