deleting specific rows in an array based on values in another array
古いコメントを表示
I have two 16x1 column vectors, the first is [1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16], and another [777; 777; 0; 0; -9; 0; 0; -6; 0; 0; 0; 777; 0; 0; 0; 777]
I need to delete the values from the first column that correspond to the rows in column 2 that contain 777
i.e. [1; 2; 12; 16]
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!