フィルターのクリア

How to find elements?

1 回表示 (過去 30 日間)
Lilya
Lilya 2016 年 8 月 8 日
編集済み: Azzi Abdelmalek 2016 年 8 月 8 日
hi all, I have a matrix contains +ve, -ve and 0 values. how to find the elements in the range of the -ve values? thank you for help.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 8 日
index=find(A==-ve)
  2 件のコメント
Lilya
Lilya 2016 年 8 月 8 日
thank you Mr. Abdelmalek for your answer. How to find the range of the data? for example from -0.01 to -0.06
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 8 日
編集済み: Azzi Abdelmalek 2016 年 8 月 8 日
B=A(A>-0.06 & A<-0.01)

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

その他の回答 (0 件)

カテゴリ

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