MATLAB Answers

selva

how to reverse a string in matlab

Asked by selva
on 13 Nov 2013
Latest activity Commented on by The Matlab Spot on 13 Nov 2013

how to reverse a string in matlab

  0 Comments

2 Answers

Answer by The Matlab Spot on 13 Nov 2013
 Accepted answer

Search the documentation/help for

flip
fliplr
flipud

  1 Comment

The Matlab Spot on 13 Nov 2013

e.g.

>> str = 'xyz';
>> fliplr(str)
ans =
zyx

Answer by Walter Roberson
on 13 Nov 2013

fliplr()

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today