채택된 답변

Stephen23
Stephen23 2021년 8월 6일

1 개 추천

X = A(:,5)<1;
A(X,:) = []

추가 답변 (1개)

M.B
M.B 2021년 8월 6일

0 개 추천

I just translated what you described. Next time try something on your own. Then ask for help when you are stuck. Learning comes with practice.
tempA = A;% play with a temorary
deletthisrow = [];
for iter = size(tempA, 1):1
if tempA(iter, 5)<1
tempA(iter, :) = [];
end
end

댓글 수: 1

Sourasis Chattopadhyay
Sourasis Chattopadhyay 2021년 8월 6일
Thank you for your answer .I already tried by myself .

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

카테고리

도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by