I get the same error.
Tiefe is an 696x1 array.
When I'm only copying the left or the right part into the command Window, I get logical arrays with 696x1.
When I change to code to:
it works. But do I have a logical error in my code?
I want to check if every value in the array "Tiefe" is matching one of the two conditions.
Or is there a better option to compare arrays with scalar values?