Sum of vector involving relational operations
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
lauuser1
am 25 Feb. 2016
Kommentiert: Star Strider
am 25 Feb. 2016
When given something such as
x=[0:.5:10]'
why does
sum(x>8 & x<=4) = 0
0 Kommentare
Akzeptierte Antwort
Star Strider
am 25 Feb. 2016
Think about it. Here no ‘x’ can simultaneously be >8 and <=4.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!