How I can create this matrix?

조회 수: 2 (최근 30일)
Sourasis Chattopadhyay
Sourasis Chattopadhyay 2021년 8월 6일
댓글: Sourasis Chattopadhyay 2021년 8월 6일

채택된 답변

Stephen23
Stephen23 2021년 8월 6일
X = A(:,5)<1;
A(X,:) = []
  댓글 수: 1
Sourasis Chattopadhyay
Sourasis Chattopadhyay 2021년 8월 6일
Thank you for your valuable help .

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

추가 답변 (1개)

M.B
M.B 2021년 8월 6일
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 .

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

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by