Borrar filtros
Borrar filtros

1D Matrix element shifting

4 visualizaciones (últimos 30 días)
ARJUN K P
ARJUN K P el 26 de Oct. de 2015
Respondida: the cyclist el 26 de Oct. de 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]

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Cell Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by