Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Peter J Francis  
#1 Posted : 07 June 2017 11:36:31(UTC)
Peter J Francis


Rank: Member

Groups: Registered
Joined: 02/06/2017(UTC)
Posts: 18
United Kingdom
Location: Stoke on Trent

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.png

TableRegion_Test.sm (11kb) downloaded 13 time(s).

Peter J Francis

Twitter: @PeterJFrancis

Thermal Engineer , Maker , Pilot

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 07 June 2017 13:13:32(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hello Peter,

You can use a simple loop, like this:

TableRegion_Test.sm (11kb) downloaded 23 time(s).

2017-06-07 12_15_37-SMath Studio - [TableRegion_Test.sm_].png

Edited by user 08 June 2017 01:28:42(UTC)  | Reason: marked as SOLVED

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 07/06/2017(UTC)
Offline Peter J Francis  
#3 Posted : 07 June 2017 14:19:21(UTC)
Peter J Francis


Rank: Member

Groups: Registered
Joined: 02/06/2017(UTC)
Posts: 18
United Kingdom
Location: Stoke on Trent

Thank you Davide Clap

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
Offline Jean Giraud  
#4 Posted : 07 June 2017 17:30:28(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
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 (23kb) downloaded 21 time(s).

Utilities Matrix Treasury Copy.sm (337kb) downloaded 27 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 09/06/2017(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.