1 Pages (7 items)
Subtracting matrices with a different number of columns - Arithmetic operation with a varying number of columns. - Messages
#1 Posted: 11/19/2025 8:25:09 AM
#2 Posted: 11/19/2025 8:07:43 PM
It seems that you should write Rc: L-xc where xc is the vector of coordinates of the reference point. But you better attach an sm file and a more comprehensible description of what you want. I don't see a matrix with multiple columns in your example.
Edited 11/19/2025 8:08:39 PM
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 11/20/2025 7:43:34 AM
Hi Martin, here is the worksheet.
Rc should be calculated automatically depending on the number of forces entered.
bolt_pattern.sm (42.76 KiB) downloaded 35 time(s).
Rc should be calculated automatically depending on the number of forces entered.
bolt_pattern.sm (42.76 KiB) downloaded 35 time(s).
Edited 11/20/2025 9:52:44 AM
Yoshi
#4 Posted: 11/21/2025 10:11:24 AM
#5 Posted: 11/21/2025 12:02:20 PM
#6 Posted: 11/21/2025 1:22:56 PM
Thank you very much for your help, it works perfectly now. Martin's solution is a little more compact, but both work.
bolt_pattern.sm (39.73 KiB) downloaded 22 time(s).
bolt_pattern.sm (39.73 KiB) downloaded 22 time(s).
Edited 11/21/2025 1:51:59 PM
Yoshi
#7 Posted: 11/21/2025 4:10:30 PM
Hi. Third option: vectorize twice.

bolt_pattern.sm (52.91 KiB) downloaded 17 time(s).
Best regards.
Alvaro.

bolt_pattern.sm (52.91 KiB) downloaded 17 time(s).
Best regards.
Alvaro.
1 Pages (7 items)
- New Posts
- No New Posts


