 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: 300   Location: italy Was thanked: 103 time(s) in 87 post(s)
|
One way (stack use) q-1-2_ser.sm (7kb) downloaded 14 time(s).sergio
|
 1 user thanked PompelmoTell for this useful post.
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,132  Was thanked: 896 time(s) in 724 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,132  Was thanked: 896 time(s) in 724 post(s)
|
Originally Posted by: 1986max  Thank a lot, all options are excellent ! Appreciated ... more in there ... Jean. Utilities Matrix Extractors.sm (57kb) downloaded 8 time(s).
|
 1 user thanked Jean Giraud for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 788  Was thanked: 280 time(s) in 198 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 4 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.