Info
この質問は閉じられています。 編集または回答するには再度開いてください。
could anyone help me how to split different set of numbers sepaartely
7 ビュー (過去 30 日間)
古いコメントを表示
i am having three different sets of numbers displayed in the same line as the output say for example {1} {2 3} {4}.Could anyone please help me how to split it in three different lines inorder to get the output as 1 2 3 4
1 件のコメント
回答 (2 件)
Shannon Cherry
2018 年 9 月 6 日
regexprep(C, '\{(.*)\}', '$1')
2 件のコメント
Shannon Cherry
2018 年 9 月 6 日
input = '{1 2 3}'
output = regexprep(input, '\{(.*)\}', '$1')
This is working for me.
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!