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
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
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 CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

제품


릴리스

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by