You can use the all function to check if all entries of a logical vector are either true or false.
For example:
main.m290 chars10 lines
If your vector is not already a logical vector, you can convert it using the logical function.
For example:
main.m286 chars10 lines
gistlibby LogSnag