Sum of vector involving relational operations
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
lauuser1
el 25 de Feb. de 2016
Comentada: Star Strider
el 25 de Feb. de 2016
When given something such as
x=[0:.5:10]'
why does
sum(x>8 & x<=4) = 0
0 comentarios
Respuesta aceptada
Star Strider
el 25 de Feb. de 2016
Think about it. Here no ‘x’ can simultaneously be >8 and <=4.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!