How to concatenate strings

3 ビュー (過去 30 日間)
Sameer Pujari
Sameer Pujari 2021 年 7 月 21 日
回答済み: KSSV 2021 年 7 月 21 日
Return answer = 'MIF' on passing the function
FirstLetterOfWords('Matlab Is Fun') = 'MIF'

採用された回答

KSSV
KSSV 2021 年 7 月 21 日
str = 'Matlab Is Fun' ;
iwant = cellfun(@(v)v(1),strsplit(str))
iwant = 'MIF'

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by