How I can create this matrix?

2 Ansichten (letzte 30 Tage)
Sourasis Chattopadhyay
Sourasis Chattopadhyay am 6 Aug. 2021

Akzeptierte Antwort

Stephen23
Stephen23 am 6 Aug. 2021
X = A(:,5)<1;
A(X,:) = []

Weitere Antworten (1)

M.B
M.B am 6 Aug. 2021
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 Kommentar
Sourasis Chattopadhyay
Sourasis Chattopadhyay am 6 Aug. 2021
Thank you for your answer .I already tried by myself .

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by