row elimination problem.
显示 更早的评论
Hey
I have a matrix A of 34x2 double.
I want to eliminate the rows wherein the value of both the columns is 0.
采纳的回答
更多回答(1 个)
Asad (Mehrzad) Khoddam
2020-10-19
A(all(A(:,1:2)==0,2),:)=[];
2 个评论
madhan ravi
2020-10-19
How’s this different from my answer?
Asad (Mehrzad) Khoddam
2020-10-19
I didn't refresh the web page and the time I submitted the answer, there was no anwser to this question.
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!