Insert Values Into Existing Matrix

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

#1 Objavljeno: 31. 12. 2019. 14:10:16
Ryan Freund

Ryan Freund

20 svidjanja u 339 postova.

Grupa: 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,61 KiB) preuzeto 1210 put(ova).
#2 Objavljeno: 31. 12. 2019. 17:08:03
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,9 KiB) preuzeto 1289 put(ova).

#3 Objavljeno: 4. 1. 2020. 11:03:47
Ryan Freund

Ryan Freund

20 svidjanja u 339 postova.

Grupa: User

Thank you Jean!
  • Novi postovi
  • Nema novih postova