Clear Filters
Clear Filters

How I can create this matrix?

1 view (last 30 days)

Accepted Answer

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

More Answers (1)

M.B on 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, :) = [];
  1 Comment
Sourasis Chattopadhyay
Sourasis Chattopadhyay on 6 Aug 2021
Thank you for your answer .I already tried by myself .

Sign in to comment.


Find more on Get Started with MATLAB in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!