MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > ismember 

Hello, 
Sorry, I just noticed that I missed one line of the script in my previous message. 
"Jerry " <jerrycholo@gmail.com> wrote in message <l5ulh7$a14$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <l5unmh$6b3$1@newscl01ah.mathworks.com>... 
OK, when I ran the line: 

Hi, 

"Jerry " <jerrycholo@gmail.com> wrote in message <l605u8$13$1@newscl01ah.mathworks.com>... 
Hi, 
> Going back to the original problem, which was an issue with ISMEMBER, show 

Thank you for all the comments. Yes, you are right; to clarify everything I generated exact data structure that I have; R is a cell (5by7) and N is also a cell (4by1): 
On 11/14/2013 12:04 PM, Jerry wrote: 
You are right; based on D, 
On 11/14/2013 12:52 PM, Jerry wrote: 
I thought "ismember" allows me to get "X" from "R" by having "N". If you think there is other solution(s) to solve this; please let me know what this solution is. I just need "X", that is it. 
On Thu, 14 Nov 2013 19:43:15 +0000, Jerry wrote: 
On 11/14/2013 1:43 PM, Jerry wrote: 
Sorry, if I had the problem to clearly explain what I have and what I want. There is a cell (5by7); let’s call it “R”. If the elements of “N” (4by1) are within “R” it is true, otherwise it is false, in that this logic was reflected in “D”; I used this “ismember(R, N)” to determine “D”. Now, I would use “D” as an index to create “X” (4by7). 
On Thu, 14 Nov 2013 20:59:07 +0000, Jerry wrote: 
On 11/14/2013 2:59 PM, Jerry wrote: 

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.