Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

can anyone help me ??

1 vue (au cours des 30 derniers jours)
neveen aburomman
neveen aburomman le 21 Déc 2016
Clôturé : John D'Errico le 22 Déc 2016
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 commentaires
David Barry
David Barry le 21 Déc 2016
Try this.
in = 'can somebody do my homework for me';
out = strrep(in, in, char([110, 111]))

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by