Error

 Previous Topic Next Topic
 1986max #1 Posted : 11 January 2022 17:21:07(UTC) Rank: NewbieGroups: Registered Joined: 01/09/2021(UTC)Posts: 9Location: Москва Tell me please. Question - 1There 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).
 Wanna join the discussion?! Login to your SMath Studio Forum forum accountor Register a new forum account.
 PompelmoTell #2 Posted : 11 January 2022 19:12:55(UTC) Rank: Advanced MemberGroups: Registered Joined: 23/12/2011(UTC)Posts: 300Location: italyWas 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. on 11/01/2022(UTC)
 Jean Giraud #3 Posted : 11 January 2022 19:51:29(UTC) Rank: GuestGroups: Registered Joined: 04/07/2015(UTC)Posts: 6,132Was thanked: 896 time(s) in 724 post(s) Originally Posted by: 1986max Question - 2Make it algo style, add/remove cols.This way you will have in-situ as desired.Welcome to Smath Community ... Jean.
 1986max #4 Posted : 12 January 2022 09:58:49(UTC) Rank: NewbieGroups: Registered Joined: 01/09/2021(UTC)Posts: 9Location: Москва thank a lot, all options are excellent!)
 Jean Giraud #5 Posted : 12 January 2022 16:26:33(UTC) Rank: GuestGroups: Registered Joined: 04/07/2015(UTC)Posts: 6,132Was 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. on 12/01/2022(UTC)
 overlord #6 Posted : 14 January 2022 21:06:20(UTC) Rank: Advanced MemberGroups: Registered Joined: 23/07/2013(UTC)Posts: 788Was 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).
 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.