1D Matrix element shifting

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

a=['how are you?'];
out = ['hello, ',a]

More Answers (0)

Categories

Asked:

on 26 Oct 2015

Answered:

on 26 Oct 2015

Community Treasure Hunt

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

Start Hunting!