Insert Values Into Existing Matrix

Insert Values Into Existing Matrix - How to insert values into a matrix as opposed to replacing - Messages

#1 Posted: 12/31/2019 2:10:16 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Is there an easy way or built in way to insert values into a matrix?

For example if I have a 2x4 matrix and I want to insert a column. How can this be done?

Is it possible to sort a matrix so that the columns are rearranged until the specified row is in ascending order?
If not is there a way to invert a 2x4 matrix so that the row is now the column. See attached example.

Thanks

Matrix Manipulations.sm (6 KiB) downloaded 52 time(s).
#2 Posted: 12/31/2019 5:08:03 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Is there an easy way or built in way to insert values into a matrix?
For example if I have a 2x4 matrix and I want to insert a column. How can this be done?
Is it possible to sort a matrix so that the columns are rearranged until the specified row is in ascending order?
If not is there a way to invert a 2x4 matrix so that the row is now the column. See attached example.


1. Insert col(s)/row(s) from somewhere in the attached
2. Transpose/csort/re-transpose.

Utilities Matrix Treasury_1.sm (408 KiB) downloaded 70 time(s).

#3 Posted: 1/4/2020 11:03:47 AM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Thank you Jean!
  • New Posts New Posts
  • No New Posts No New Posts