add a row or column to an existing matrix

add a row or column to an existing matrix - modify existing matrix - 消息

#1 已发布: 2017/6/1 11:59:50
timgow

timgow

0个赞,共27个帖子。

组: 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 已发布: 2017/6/1 12:22:06
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2017/6/1 12:58:17
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1787 次。
#4 已发布: 2017/6/1 13:03:46
timgow

timgow

0个赞,共27个帖子。

组: User

Thank you Davide, thank you Jean.
Your help is much appreciated, I'm rolling now, a fabulous program and forum.
Tim
  • 有新帖
  • 无新帖