Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
In the attached MathCAD 14 worksheet, I am attempting to compare the individual values in a vector to a single number and create a yes or know output. For a reason I have yet to understand, I am unable to compare these. Is there a particular way to compare these which I am missing?
Solved! Go to Solution.
Daniel Sochor wrote:
In your attachment this works, however, in page 8 of the attached worksheet this E functionality does not work and I am unable to compare E to a single vector value. Is there a reason for this?
The reason for that is, that your vector E contains complex values which of course can not be ordered linear.
In your sheet the complex tolerance for numeric evaluations is set to 0 (default is 10), but this effects only the visual representation, not the value itself.
Way out is using only the real part of the values or their absolute value (if you are sute that you will never have to deal with negative values).
Sorry, not Origin but ORIGIN and not E[i:= but E := - see the attach please.
Or so
In your attachment this works, however, in page 8 of the attached worksheet this E functionality does not work and I am unable to compare E to a single vector value. Is there a reason for this?
Daniel Sochor wrote:
In your attachment this works, however, in page 8 of the attached worksheet this E functionality does not work and I am unable to compare E to a single vector value. Is there a reason for this?
The reason for that is, that your vector E contains complex values which of course can not be ordered linear.
In your sheet the complex tolerance for numeric evaluations is set to 0 (default is 10), but this effects only the visual representation, not the value itself.
Way out is using only the real part of the values or their absolute value (if you are sute that you will never have to deal with negative values).