Elimination of rows in array
4 次查看(过去 30 天)
显示 更早的评论
Hello. Didn't find a relevant answer.
Suppose we have an array of such form:
A=[a1 b1 c1 d1; a2 b2 c2 d2; etc], i.e. rows of sets of parameters. How to delete from the array the rows with the following conditions:
if 1)a1+b1<c1 then delete that row
and 2) if a1+b1>d1 then delete that row
end
Thank you!
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!