How do i check a value is negative and make it into a condition?
15 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!