The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: finding dissimilar elements between two arrays
Replies: 2   Last Post: Aug 22, 2013 7:09 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 139
Registered: 1/24/09
finding dissimilar elements between two arrays
Posted: Aug 22, 2013 7:03 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have two vectors say x = [2 8 6 10 7 4]'; y = [2 6 9 4]'; i would like to return a vector of dissimilar elements of x when comparing to y; say c = [8 10 7]. Thanks,

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.