Borrar filtros
Borrar filtros

How I can create this matrix?

1 visualización (últimos 30 días)
Sourasis Chattopadhyay
Sourasis Chattopadhyay el 6 de Ag. de 2021
Comentada: Sourasis Chattopadhyay el 6 de Ag. de 2021

Respuesta aceptada

Stephen23
Stephen23 el 6 de Ag. de 2021
X = A(:,5)<1;
A(X,:) = []

Más respuestas (1)

M.B
M.B el 6 de Ag. de 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 comentario
Sourasis Chattopadhyay
Sourasis Chattopadhyay el 6 de Ag. de 2021
Thank you for your answer .I already tried by myself .

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by