add a row or column to an existing matrix

add a row or column to an existing matrix - modify existing matrix - Messages

#1 Posted: 6/1/2017 11:59:50 AM
timgow

timgow

0 likes in 27 posts.

Group: User

Hi,
Is there a quicker way than creating a new larger matrix (I've seen a discussion 3 years ago on adding a row to a matrix)?
Is there an alternative means of creating a look-up table of values?
Regards, Tim
#2 Posted: 6/1/2017 12:22:06 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Hello Tim,

there are stack() and augment() functions, as well as direct assignment of an element outside the boundaries, that automatically increase the matrix size to include the new element

2017-06-01 17_20_10-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 6/1/2017 12:58:17 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

You have two requests in one question !!!
Modify and lookup ...
Insert col/row ... page 13, then modify at will
lookup also included

Jean

Utilities Matrix Treasury Copy.sm (336 KiB) downloaded 521 time(s).
#4 Posted: 6/1/2017 1:03:46 PM
timgow

timgow

0 likes in 27 posts.

Group: User

Thank you Davide, thank you Jean.
Your help is much appreciated, I'm rolling now, a fabulous program and forum.
Tim
  • New Posts New Posts
  • No New Posts No New Posts