Azzera filtri
Azzera filtri

Sum of vector involving relational operations

3 visualizzazioni (ultimi 30 giorni)
When given something such as
x=[0:.5:10]'
why does
sum(x>8 & x<=4) = 0

Risposta accettata

Star Strider
Star Strider il 25 Feb 2016
Think about it. Here no ‘x’ can simultaneously be >8 and <=4.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by