How to select some part of a matrix ?
12 次查看(过去 30 天)
显示 更早的评论
Hi,I have a matrix with two column I would like to select data from the second column based on the condition that I put for the first column.for example if I have
A=[ 32 5
38 4
43 6
49 3
53 13
59 34
61 2
64 23]
and I want to have this
if 43<A(:,1)<59 then give me the numbers of second column which are 3 and 13.(with the same row)
Thanks a lot
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!