how to make function that take input as a string and output as a string in reveres order?

1 回表示 (過去 30 日間)
jun
jun 2022 年 10 月 13 日
編集済み: DGM 2022 年 10 月 13 日
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 Center および File ExchangeCharacters and Strings についてさらに検索

製品


リリース

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by