How I can create this matrix?

6 ビュー (過去 30 日間)
Sourasis Chattopadhyay
Sourasis Chattopadhyay 2021 年 8 月 6 日

採用された回答

Stephen23
Stephen23 2021 年 8 月 6 日
X = A(:,5)<1;
A(X,:) = []
  1 件のコメント
Sourasis Chattopadhyay
Sourasis Chattopadhyay 2021 年 8 月 6 日
Thank you for your valuable help .

サインインしてコメントする。

その他の回答 (1 件)

M.B
M.B 2021 年 8 月 6 日
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 件のコメント
Sourasis Chattopadhyay
Sourasis Chattopadhyay 2021 年 8 月 6 日
Thank you for your answer .I already tried by myself .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by