Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
lowVal = 10;
highVal = 50;
p = [11 13
17 19
29 31
41 43];
assert(isequal(window_twins(lowVal,highVal),p))
ans =
11 13
17 19
29 31
41 43
|
2 | Pass |
%%
lowVal = 1000;
highVal = 1050;
p = [1019 1021
1031 1033];
assert(isequal(window_twins(lowVal,highVal),p))
ans =
1019 1021
1031 1033
|
3 | Pass |
%%
lowVal = 3120;
highVal = 3300;
p = [ 3167 3169
3251 3253
3257 3259];
assert(isequal(window_twins(lowVal,highVal),p))
ans =
3167 3169
3251 3253
3257 3259
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
Find a subset that divides the vector into equal halves
332 Solvers
Determine if input is a perfect number
145 Solvers
Determine the number of odd integers in a vector
435 Solvers
227 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!