Info

この質問は閉じられています。 編集または回答するには再度開いてください。

delete rows from matri with condition

1 回表示 (過去 30 日間)
mukesh kumar
mukesh kumar 2018 年 3 月 16 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I had matrix A(1*24),cell B(24*1) and in each cell different number of rows size(n*24),C(1*24) and C is the sum of all rows from each cell of B. Now U=find(C>A) and lets say for U 1st value is 11 then remove rows from B's 11th cell one by one and update C=C-removed row, until C<B, and same for all values of U. thanks

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by