Solved
Multiple input with units
- February 25, 2020
- 2 replies
- 2793 views
Hello,
How can I fix this file in order that the multiple input to work with units?
Thank you
The problem is not because of the units, but rather because a comparison operator won't accept a vector as operand.
One way out would be to turn the calculation into a function (for scalar arguments) and then call this function with the vector as argument and use vectorization:

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.