I have an variable SP_U (.mat file attached),
I have finded SP_d by specific condition,
SP_d=SP_U(SP_U(:,2)<SP_U(:,3),:);
I want to delete rows containing SP_d from SP_U. Please help me.

 채택된 답변

MJFcoNaN
MJFcoNaN 2022년 6월 16일

0 개 추천

Hello,
This may help:
SP_U(ismember(SP_U, SP_d,'rows'),:)=[];

댓글 수: 1

Triveni
Triveni 2022년 6월 16일
Yes, exactly i was trying to find, ismember(SP_U, SP_d,'rows')
Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

태그

질문:

2022년 6월 16일

댓글:

2022년 6월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by