Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = char([97:1:122]);
y_correct = char([122:-1:97]);
assert(isequal(rs(x),y_correct))
y =
zyxwvutsrqponmlkjihgfedcba
|
2 | Pass |
x = 'HOW';
y_correct = 'WOH';
assert(isequal(rs(x),y_correct))
y =
WOH
|
1160 Solvers
Arrange Vector in descending order
4083 Solvers
Back to basics 19 - character types
225 Solvers
616 Solvers
Test Problem; Create a 5x5 array containing all ones
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!