Re: array manipulation
- From: Scott <no@xxxxxxxx>
- Date: Mon, 30 Apr 2007 15:22:53 -0400
tony martin wrote:
Take a look at ismember.
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
Scott
.
- Follow-Ups:
- Re: array manipulation
- From: tony martin
- Re: array manipulation
- References:
- array manipulation
- From: tony martin
- array manipulation
- Prev by Date: read files recursiveley
- Next by Date: Re: COM object return types C#
- Previous by thread: array manipulation
- Next by thread: Re: array manipulation
- Index(es):
Relevant Pages
|