how to make function that take input as a string and output as a string in reveres order?
조회 수: 1 (최근 30일)
이전 댓글 표시
i wnat make function that take input as a string and output is reverse order
for exmple it like that f(asd)=dsa
Can't it be derived directly by putting only a string in the input without setting the string?
댓글 수: 3
Dyuman Joshi
2022년 10월 13일
Adding to Steven's comment, A quick search on the internet can give you the desired answer as well.
DGM
2022년 10월 13일
편집: DGM
2022년 10월 13일
It also might help to clarify whether you are talking about string objects or whether you mean common character vectors. If you are indeed using R2013a, then you're not using strings.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!