I have a table like this and I want to select only the rows where A>14 and B<1700. How to give both conditions together? Please Help.

1 次查看(过去 30 天)
A B
10.269473 1479.6947
9.6246681 1325.8943
9.2562313 1215.6459
10.157804 1481.1494
8.9590359 1111.1162
7.9809303 712.88300
7.7310958 670.68652
7.5487347 635.37970
3.8393710 10.191486
4.5286098 2.4019780
4.9408536 48.987740
5.8539968 245.45227
7.9104948 779.95020
9.2476778 1164.4354
8.2490454 893.66010
9.3364477 1245.2179

采纳的回答

James Tursa
James Tursa 2018-7-10
T = your table
result = T(T.A>14 & T.B<1700,:);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by