Extracting values from table/ matrices
1 回表示 (過去 30 日間)
古いコメントを表示
I have a table with three columns (a,b,c) and hundreds of rows. How can I extract all the values of b and c when a=x?
2 件のコメント
採用された回答
madhan ravi
2020 年 6 月 19 日
TablE(TablE.a == x, 2:3) % x is a numeric scalar , use strcmp(...) if it’s a string or a char
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!