1 Pages (4 items)
Matrix math - Newbie question - How do I multiply 2 elements in a variable length matrix ? - Messages
Hi All,
I'm trying to create an input table for a worksheet I'm working on.
It's probably a bit of a newbie question but I'm new to SMath (and matrices !) so any help would be appreciated.
I want to perform calculations on the data in matrix BODY.
I've done this in BODY2 as a workaround but I'd like to find a way of doing it so I don't have to edit BODY2 everytime I add or delete a row.
Any help / guidance would be appreciated
Peter

TableRegion_Test.sm (10.96 KiB) downloaded 661 time(s).
I'm trying to create an input table for a worksheet I'm working on.
It's probably a bit of a newbie question but I'm new to SMath (and matrices !) so any help would be appreciated.
I want to perform calculations on the data in matrix BODY.
I've done this in BODY2 as a workaround but I'd like to find a way of doing it so I don't have to edit BODY2 everytime I add or delete a row.
Any help / guidance would be appreciated
Peter

TableRegion_Test.sm (10.96 KiB) downloaded 661 time(s).
Peter J Francis
Twitter: @PeterJFrancis
Thermal Engineer , Maker , Pilot
Hello Peter,
You can use a simple loop, like this:
TableRegion_Test.sm (10.15 KiB) downloaded 651 time(s).
![2017-06-07 12_15_37-SMath Studio - [TableRegion_Test.sm_].png](/zh-Hans-CN/files/Download/QTAqhE/2017-06-07-12_15_37-SMath-Studio---[TableRegion_Test.sm_].png)
You can use a simple loop, like this:
TableRegion_Test.sm (10.15 KiB) downloaded 651 time(s).
![2017-06-07 12_15_37-SMath Studio - [TableRegion_Test.sm_].png](/zh-Hans-CN/files/Download/QTAqhE/2017-06-07-12_15_37-SMath-Studio---[TableRegion_Test.sm_].png)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Peter J Francis 2017/6/7 08:20:00
Thank you Davide
As I thought the answer was simple but I just couldn't see it.
I've been using Mathcad for a few years but have recently discovered SMath and am blown away by it.
Thanks again
Peter
As I thought the answer was simple but I just couldn't see it.
I've been using Mathcad for a few years but have recently discovered SMath and am blown away by it.
Thanks again
Peter
Peter J Francis
Twitter: @PeterJFrancis
Thermal Engineer , Maker , Pilot
Hello Peter !
Matrix maths is not same as "Matrix table".
I don't use much this feature for collecting data, but can demonstrate how to fill.
By same token, the attached "matrix Treasury might help in real "Matrix maths".
Welcome to Smath Community
Jean
TableRegion_Test jmG.sm (22.12 KiB) downloaded 663 time(s).
Utilities Matrix Treasury Copy.sm (336.08 KiB) downloaded 659 time(s).
Matrix maths is not same as "Matrix table".
I don't use much this feature for collecting data, but can demonstrate how to fill.
By same token, the attached "matrix Treasury might help in real "Matrix maths".
Welcome to Smath Community
Jean
TableRegion_Test jmG.sm (22.12 KiB) downloaded 663 time(s).
Utilities Matrix Treasury Copy.sm (336.08 KiB) downloaded 659 time(s).
1 users liked this post
Peter J Francis 2017/6/9 06:42:00
1 Pages (4 items)
- New Posts
- No New Posts