Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'Hello World!';
y_correct = 'Ifmmp Xpsme!';
assert(isequal(si(x),y_correct))
Refvector =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
PositionM =
35 6 13 13 16 0 50 16 19 13 5 0
1 2 3 4 5 6 7 8 9 10 11 12
lim =
12
y =
'Ifmmp Xpsme!'
|
2 | Pass |
x = 'Can I help you?';
y_correct = 'Dbo J ifmq zpv?';
assert(isequal(si(x),y_correct))
Refvector =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
PositionM =
30 2 15 0 36 0 9 6 13 17 0 26 16 22 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
lim =
15
y =
'Dbo J ifmq zpv?'
|
3 | Pass |
x = 'Mary had a liitle lamb.';
y_correct = 'Nbsz ibe b mjjumf mbnc.';
assert(isequal(si(x),y_correct))
Refvector =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
PositionM =
40 2 19 26 0 9 2 5 0 2 0 13 10 10 21 13 6 0 13 2 14 3 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
lim =
23
y =
'Nbsz ibe b mjjumf mbnc.'
|
960 Solvers
Return unique values without sorting
488 Solvers
Detect a number and replace with two NaN's
157 Solvers
Basics: 'Find the eigenvalues of given matrix
257 Solvers
146 Solvers