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

1 vue (au cours des 30 derniers jours)
jun
jun le 13 Oct 2022
Modifié(e) : DGM le 13 Oct 2022
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 commentaires
Dyuman Joshi
Dyuman Joshi le 13 Oct 2022
Adding to Steven's comment, A quick search on the internet can give you the desired answer as well.
DGM
DGM le 13 Oct 2022
Modifié(e) : DGM le 13 Oct 2022
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Produits


Version

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by