MATLAB Answers

selva
0

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 MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!