Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

how to reverse a string in matlab

Asked by selva

selva (view profile)

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

The Matlab Spot (view profile)

on 13 Nov 2013

how to reverse a string in matlab

0 Comments

selva

selva (view profile)

Products

2 Answers

Answer by The Matlab Spot

The Matlab Spot (view profile)

on 13 Nov 2013
Accepted answer

Search the documentation/help for

flip
fliplr
flipud

1 Comment

The Matlab Spot

The Matlab Spot (view profile)

on 13 Nov 2013

e.g.

>> str = 'xyz';
>> fliplr(str)
ans =
zyx
The Matlab Spot

The Matlab Spot (view profile)

Answer by Walter Roberson

Walter Roberson (view profile)

on 13 Nov 2013

fliplr()

0 Comments

Walter Roberson

Walter Roberson (view profile)

Contact us