1D Matrix element shifting

4 次查看(过去 30 天)
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]

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by