Accuracy problem with boolean operator

Accuracy problem with boolean operator - Boolean operation fails due to accuracy - Messages

#1 Posted: 2022/5/12 10:05:24
Jan Claeys

Jan Claeys

2 likes in 25 posts.

Group: User

Dear all,

In a cam profile generation program, I perform some boolean operations with angular values (input in degrees).
I noticed some boolean operations fail due to a varying accuracy.
The file in attachment will clarify what I mean.

How can I make these values equal? Reduce the amount of significant numbers?

Thanks in advance for any feedback!

Kind regards,

Jan

Accuracy.sm (7.11 KiB) downloaded 884 time(s).
#2 Posted: 2022/5/12 15:55:14
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

How can I make these values equal ?


If numerical arithmetic can't ... You can't.
Visit the previous thread in the Forum.

NumAcc.PNG



#3 Posted: 2022/5/12 17:26:48
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... differently puzzling: set n 49, 50

Puzzling.PNG
#4 Posted: 2022/5/12 18:30:06
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: User

Wrote

...
How can I make these values equal? Reduce the amount of significant numbers?
...Accuracy.sm (7.11 KiB) downloaded 884 time(s).



Choose symbolic optimization in the matrix definition.

Clipboard01.jpg

Best regards.
Alvaro.
2 users liked this post
janclaeys 2022/5/12 21:04:00, Davide Carpi 2022/5/13 05:29:00
#5 Posted: 2022/5/13 09:44:14
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

How can I make these values equal ?


Leave the main matrix numeric, explore Numeric/Symbolic in-situ
The two Boleans disagree ... IMHO, Numeric is the practical procedure.
Cheers ... Jean.

Accuracy.sm (14.45 KiB) downloaded 841 time(s).

#6 Posted: 2022/5/13 09:53:18
Jan Claeys

Jan Claeys

2 likes in 25 posts.

Group: User

Thanks everybody for the support!
  • New Posts
  • No New Posts