How to find if a symbolic operation contains a or function?
1 view (last 30 days)
Show older comments
gonzalo Mier
on 17 Nov 2020
Commented: gonzalo Mier
on 19 Nov 2020
I'm trying to find if a symbolic equation has the 'or' function or not.
I have tried to do this:
syms a b
has(a|b,'or') % logical 0
has(or(a,b),'or') % logical 0
I don't know if this is a bug. Do you know other ways to do this?
Thank you
2 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox 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!