特定の文字が含まれる隣の値を抽出する
Afficher commentaires plus anciens
下記記載の行列Aにおいて、2列目の文字が引上げと書かれている左の値を抽出し行列Bのように出力したいです。色々な関数を使用してみたのですがうまくいきません。これを実現できるコードをご教授頂きたいです。
A=
8.17150500000000,'保持'
8.17150500000000 ,'保持'
8.17150500000000,'保持'
8.17150500000000 ,'保持'
7.90358600000000,'引上げ'
7.90358600000000 ,'引上げ'
7.85893300000000,'引上げ'
7.90358600000000,'引上げ'
B=
7.90358600000000
7.90358600000000
7.85893300000000
7.90358600000000
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur データ型の識別 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!