Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RFreund  
#1 Posted : 31 December 2019 20:10:16(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
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 (7kb) downloaded 22 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 31 December 2019 23:08:03(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: RFreund Go to Quoted Post
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 (409kb) downloaded 49 time(s).

Offline RFreund  
#3 Posted : 04 January 2020 17:03:47(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Thank you Jean!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.