View Single Post
  #1   Spotlight this post!  
Unread 16-05-2009, 18:54
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,510
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
LabVIEW - Need help with Arrays

In LabVIEW, let's say I have two 1D arrays, let's call them A and B, in which A is longer than B, and all of B's elements are equal to some elements of A. I would like to reconstuct A into a shorter array, removing the elements that equal to an element of B.

I've done this in MatLab using the ismember and nonzeros functions, but I'm not sure how to do it in LabVIEW.

How might I go about this?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004

Last edited by sanddrag : 16-05-2009 at 19:10.
Reply With Quote