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

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

selva

Products

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
The Matlab Spot
Answer by Walter Roberson on 13 Nov 2013

fliplr()

0 Comments

Walter Roberson

Contact us