String Manipulation Syntax
1 回表示 (過去 30 日間)
古いコメントを表示
I have a cell array. Column 1 contains a string, and I would like to extract characters 4 through 8 of this column (in each row) and place this in column 10. I understand how to do make column 10 match column 1 with:
fdata(:,10) = fdata(:,1);
but how to I make fdata(:,10) just contain characters 4 through 8 of fdata(:,1)?
Thanks for the the help.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!