Info
この質問は閉じられています。 編集または回答するには再度開いてください。
can anyone help me ??
1 回表示 (過去 30 日間)
古いコメントを表示
Write a MATLAB script (called rev.m) which reads a number of strings from standard input and prints them in reverse order on the command window.
The input sequence is terminated with the string END.
Hint: Use a cell array!
3 件のコメント
David Barry
2016 年 12 月 21 日
Try this.
in = 'can somebody do my homework for me';
out = strrep(in, in, char([110, 111]))
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!