特定の値をもつ行を検索し、削除する方法
199 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
特定の値をもつ行を検索し、削除する方法を教えてください。
例えば
A =[0 0; 0 30; 50 70]; があったとき、1行目=0かつ2行目=0の行を消去し、
A'=[0 30; 50 70];としたいです。(Aの大きさはforループ内で毎回変わるため最初からは分からないものとしています)
宜しくお願いします。
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!