フィルターのクリア

hi,,lets say I have a matrix,A =[1 0 1 0 0; 10 1 0; 0 0 1 0; 0 0 0 1]. How do I find out that row 3 and 4 has weight one??

1 回表示 (過去 30 日間)
How Do I find out a specific weight number in a row of matrix?
  1 件のコメント
the cyclist
the cyclist 2016 年 5 月 17 日
I don't understand the question. Specifically,
  • You sort of put the question in the title, so it is badly formatted and impossible to interpret
  • The matrix A doesn't seem to be a valid matrix at all
  • What do you mean by "weight number"?

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

採用された回答

Sean de Wolski
Sean de Wolski 2016 年 5 月 17 日
sum(A,2) == 1
?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumber Theory についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by