1D Matrix element shifting

1 回表示 (過去 30 日間)
ARJUN K P
ARJUN K P 2015 年 10 月 26 日
回答済み: the cyclist 2015 年 10 月 26 日
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 Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by