How do i check a value is negative and make it into a condition?
Show older comments
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 Comment
KALYAN ACHARJYA
on 26 Jul 2018
Actually what you want? You want to detect negative value.
Accepted Answer
More Answers (1)
Ramesh Kumar
on 16 Aug 2020
0 votes
Hi
Categories
Find more on Aerospace Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!