Info

此问题已关闭。 请重新打开它进行编辑或回答。

can anyone help me ??

1 次查看(过去 30 天)
neveen aburomman
neveen aburomman 2016-12-21
关闭: John D'Errico 2016-12-22
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
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!

Translated by