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 日

0 投票

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 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by