Re: array manipulation



tony martin wrote:


Hi everyone,
This might be a simple manipulation but I couldn?t figure it out.
I was trying to find the indices in array (A1) where array (A2)?s
elements equal to A1?s elements. It gives me an error when I use
find(A1= = A2) because these two arrays have different dimensions.
I
don?t want to do it with for loop because it takes a lot
computation
time. I would appreciate any help. Have a nice day.

A1 =

1
2
3
4
5
6
7
8

A2 =

3
5
Take a look at ismember.

Scott
.



Relevant Pages

  • Re: Google und Bing entfernen "climategate"
    ... da sieht es etwas anders aus, was die Manipulation betrifft" .. ... manipuliert worden, bzw. mit Hilfe von CC seien Manipulationen ... angebliche Ersetzung von Werten in einem Array durch Zufallswerte. ... braucht das nicht durch Interpolation ...
    (de.soc.umwelt)
  • Re: is it bug? for
    ... kind of manipulation, Array() is better, anyhow. ... Axel ... Psssst! ...
    (comp.lang.ruby)
  • Re: GetRows
    ... Retrieves multiple records of a Recordset object into an array. ... My experience is that VBA Array manipulation is faster ...
    (comp.databases.ms-access)
  • Re: Lisp Challenge
    ... some solutions to Ruby Quiz #43 ... I'm interested to see how people tackle the string ... manipulation as its something I've been wrestling myself in various ... For example with a 9x9 array, ...
    (comp.lang.lisp)
  • Re: how do I write the contents of an array to an access table
    ... express the manipulation in SQL and implement it as a query. ... If the array is essential, to write the data to the other table you do ... Dim j As Long ... Dim rsR as DAO.Recordset ...
    (microsoft.public.access.modulesdaovba)