If Else Statements With Conditions
1 view (last 30 days)
Show older comments
I am looking to write an 'ifelse' statement with the conditions such as the following:
a+7+b <= index <= c
where a, b, and c are variables that change depending on how other parameters change in the program. Simply put, if my index is equal to or greater than a+7+b, or less than or equal to c.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Operators and Elementary Operations 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!