フィルターのクリア

Sum of vector involving relational operations

3 ビュー (過去 30 日間)
lauuser1
lauuser1 2016 年 2 月 25 日
コメント済み: Star Strider 2016 年 2 月 25 日
When given something such as
x=[0:.5:10]'
why does
sum(x>8 & x<=4) = 0

採用された回答

Star Strider
Star Strider 2016 年 2 月 25 日
Think about it. Here no ‘x’ can simultaneously be >8 and <=4.
  2 件のコメント
lauuser1
lauuser1 2016 年 2 月 25 日
Oh okay, I get it. Thank you!
Star Strider
Star Strider 2016 年 2 月 25 日
My pleasure!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by