Rank: Newbie
Groups: Registered
Joined: 01/09/2021(UTC) Posts: 9 Location: Москва
|
Tell me please. Question - 1 There are several arrays. a=[1;2...4], b=[7;8..10], c=[12;13...15] How do I combine them so that it turns out as follows - d=[1,2,3,4,7,8,9,10,12,13,14,15] Question - 2 There is an array a=[1;2...10], I need to exclude several values from it so that it turns out as follows a=[1,2,5,6,7,9,10] q-1-2.sm (4kb) downloaded 6 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 318 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
One way (stack use) q-1-2_ser.sm (7kb) downloaded 28 time(s).sergio
|
1 user thanked PompelmoTell for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: 1986max Question - 2 Make it algo style, add/remove cols. This way you will have in-situ as desired. Welcome to Smath Community ... Jean.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 01/09/2021(UTC) Posts: 9 Location: Москва
|
thank a lot, all options are excellent!)
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: 1986max Thank a lot, all options are excellent ! Appreciated ... more in there ... Jean. Utilities Matrix Extractors.sm (57kb) downloaded 10 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
In addition to sergio's answer, you can use an custom exclude function. It will remove substances of a L# list from master M# list. Regards exclude.sm (6kb) downloaded 7 time(s).
|
|
|
|
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.