How to write this expression in matlab ? Boolean logic

( P ^ Q ) or (~p) (p and q) or ( not p)
I do know that and(p,q) is P ^ q and that or(p,q) is P or Q
but how do I write the one i need ?

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

标签

提问:

2013-10-18

回答:

2013-10-18

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by