Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I have a list of data. Some do not give a solution within the tolerance. What is the best way to ignore and move onto the next set of data? Is there a way to set a more coarse tolerance value?
Prime 10 attached.
Solved! Go to Solution.
I would suggest to use "try ... on error ..." to catch the errors and return a NaN in that case.
If you like you may use "filterNaN" to get rid of the NaN's
Prime 10 file attached
I would suggest to use "try ... on error ..." to catch the errors and return a NaN in that case.
If you like you may use "filterNaN" to get rid of the NaN's
Prime 10 file attached
Used minerr which worked for me in this case.
If using "minerr" works OK for you, that's fine.
But you have to be aware that you may get inaccurate or even wrong (depending on your application) results without you noticing it.
In your case, the vector calculated in the pic ideally should consist of all zeros.
Apart from the first and last entry the values are way off!
Yes there are wild fluctuations with some clustering. It is essentially locating faults on a transmission line.
On a good day it should look like :
Thank you for your help.