Delete a row in a structure that contains a certain word
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have a 1×5897 struct array with fields. How do I delete the entire rows that contain the letters 'AA'.
採用された回答
Walter Roberson
2019 年 8 月 3 日
mask = ismember({Random.Letters}, 'AA') ;
Random(mask) = [] ;
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!