|
From: | Andreas Weber |
Subject: | Re: remove some element from array |
Date: | Sun, 10 Feb 2019 14:12:00 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Am 10.02.19 um 12:50 schrieb turbofib:
i want to remove element 61,23,41 ...not a position
> ans=[45 54 51] (i remove element [ 61 23 41] from [61 45 54 23 51 > 41]) So you should ask for this and create better examples: Use setfiff D=[61 45 54 23 51 41] v=[ 61 23 41] setdiff (D, v) ans = 45 51 54 -- Andy
[Prev in Thread] | Current Thread | [Next in Thread] |