can anyone help me ??
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
James Tursa
2016년 12월 21일
What have you done so far? Please post your code and ask specific questions about it. Then we can offer suggestions and corrections.
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!