add a row or column to an existing matrix

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

#1 Pubblicato: 01/06/2017 11:59:50
timgow

timgow

0 apprezzamenti in 27 post.

Gruppo: 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 Pubblicato: 01/06/2017 12:22:06
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 01/06/2017 12:58:17
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,08 KiB) scaricato 1776 volta(e).
#4 Pubblicato: 01/06/2017 13:03:46
timgow

timgow

0 apprezzamenti in 27 post.

Gruppo: User

Thank you Davide, thank you Jean.
Your help is much appreciated, I'm rolling now, a fabulous program and forum.
Tim
  • Nuovi post
  • Nessun nuovo post