1D Matrix element shifting

1 view (last 30 days)
ARJUN K P
ARJUN K P on 26 Oct 2015
Answered: the cyclist on 26 Oct 2015
for example:
a=[how are you?]; i want to append a string into the front of the array...
eg: the string is "hello,"
output matrix like: a=[hello, how are you]

Accepted Answer

the cyclist
the cyclist on 26 Oct 2015
a=['how are you?'];
out = ['hello, ',a]

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!