Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
LynLyn='You are @#$#@*& very kind';
[Lyy Lnn]=LyyLnn(LynLyn);
Ly='Youareverykind'; Ln=' @#$#@*& ';
assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))
Lyy =
'Youareverykind'
Lnn =
' @#$#@*& '
|
2 | Pass |
LynLyn='Please write me soon';
[Lyy Lnn]=LyyLnn(LynLyn);
Ly='Pleasewritemesoon'; Ln=' ';
assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))
Lyy =
'Pleasewritemesoon'
Lnn =
' '
|
3 | Fail |
LynLyn='12+12=23 wrong';
[Lyy Lnn]=LyyLnn(LynLyn);
Ly='wrong'; Ln='12+12=23 ';
assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))
Lyy =
'wrong'
Lnn =
'121223 '
|
Find the sum of all the numbers of the input vector
31951 Solvers
2538 Solvers
462 Solvers
249 Solvers
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!