How I can create this matrix?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sourasis Chattopadhyay
le 6 Août 2021
Commenté : Sourasis Chattopadhyay
le 6 Août 2021

0 commentaires
Réponse acceptée
Plus de réponses (1)
M.B
le 6 Août 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
Voir également
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!