Extract numbers from cell array

5 ビュー (過去 30 日間)
Sirish Selvam
Sirish Selvam 2019 年 2 月 8 日
コメント済み: Sirish Selvam 2019 年 2 月 8 日
How do i extract only 64 in this cell structure '-64V_16Cm' ???

採用された回答

Manjunath Bhimalli
Manjunath Bhimalli 2019 年 2 月 8 日
Use the regular expressions , i am not sure what the return type you are expecting , tried something like this it worked
given = '-64V_16Cm'
required = regexp(a, '64', 'match')
required = '64'
  1 件のコメント
Sirish Selvam
Sirish Selvam 2019 年 2 月 8 日
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by