Réponse acceptée

Stephen23
Stephen23 le 6 Août 2021

1 vote

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

Plus de réponses (1)

M.B
M.B le 6 Août 2021

0 votes

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 commentaire

Sourasis Chattopadhyay
Sourasis Chattopadhyay le 6 Août 2021
Thank you for your answer .I already tried by myself .

Connectez-vous pour commenter.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by