jdowsett
Mechanical
- Jan 8, 2010
- 4
Is it possible to include logic or boolean expressions in the definition of a curve?
I've two different curves, one presenting an error due to atan(something/0) and the other producing a discontinuity in theta (by 180 degrees) also due to trigonometric functionality.
The first error I could eliminate if I knew the step size that ProE increments t by - as I could then add half this value thus stepping over the 0 value.
This would not solve the second problem - hence I'd like to use either something like (k>0) as a boolean multiplier or alternatively use an explict if - then statement.
Any thoughts?
I've two different curves, one presenting an error due to atan(something/0) and the other producing a discontinuity in theta (by 180 degrees) also due to trigonometric functionality.
The first error I could eliminate if I knew the step size that ProE increments t by - as I could then add half this value thus stepping over the 0 value.
This would not solve the second problem - hence I'd like to use either something like (k>0) as a boolean multiplier or alternatively use an explict if - then statement.
Any thoughts?