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!