How do i check a value is negative and make it into a condition?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
telmo egues
el 26 de Jul. de 2018
Respondida: Ramesh Kumar
el 16 de Ag. de 2020
Hi, I want to compare a value introduces in a matrix and depending on its' sign, make a condition. Is there any function or code to check if a value is negative or not?
Thanks in advance
1 comentario
Respuesta aceptada
KALYAN ACHARJYA
el 26 de Jul. de 2018
Editada: KALYAN ACHARJYA
el 26 de Jul. de 2018
matrix(matrix<0)
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Dynamic System Models 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!