1clown
Mechanical
- Sep 19, 2011
- 13
Hi Guys, I need to use an if statement and one of the inputs is a vector and I cannot get it to work.
I have an equation like this
Z:=if(C*D > min(A,B),min(A,B),C*D)
Where C and D are both vectors.
The message I get is that they need to be scalar quantities. I have tried converting A & B into vectors and using a basic program but no luck.
Any help would be appreciated.
Thanks
I have an equation like this
Z:=if(C*D > min(A,B),min(A,B),C*D)
Where C and D are both vectors.
The message I get is that they need to be scalar quantities. I have tried converting A & B into vectors and using a basic program but no luck.
Any help would be appreciated.
Thanks