Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How can I extract the numbers from this string
1 回表示 (過去 30 日間)
古いコメントを表示
Anyone knows that is there any easy way to extract the numbers from this string?
the string is "JY CME JAPANESE YEN FUTURES SEP13 10157 10315 10149 ---- 10301 +162 162704 10139 77441 171982 DEC13 10"
Many many thanks,
0 件のコメント
回答 (1 件)
Andrei Bobrov
2013 年 8 月 28 日
str = 'JY CME JAPANESE YEN FUTURES SEP13 10157 10315 10149 ---- 10301 +162 162704 10139 77441 171982 DEC13 10';
ns = str2double(regexp(str,'\d*','match'));
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!