1D Matrix element shifting

1 vue (au cours des 30 derniers jours)
ARJUN K P
ARJUN K P le 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]

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by