Hello there, I have a linear programming problem as you Know with two matrices left hand side and right hand side. I want to delete the rows from two matrices which are associated with the value zero (0) in the right hand side. Regards, Ghazwan

 채택된 답변

Mohammad Abouali
Mohammad Abouali 2015년 1월 15일

0 개 추천

Let's say you want to delete the r-th row from matrix A. This should work:
A=A([1:r-1 r+1:end],:)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by