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: function of common values to two tabes?
Replies: 10   Last Post: Nov 27, 2012 1:59 PM

Advanced Search

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

Posts: 7
Registered: 11/19/12
Re: function of common values to two tabes?
Posted: Nov 19, 2012 6:35 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Nasser M. Abbasi" <> wrote in message <k8d49h$991$>...
> On 11/19/2012 5:08 AM, felix wrote:
> > funct which accepts as input two actual tables A and B, which after making
> >appropriate comparisons will return the output vector out2 that contains
> >values ??that are common to both tables.
> >

> what is a 'table' ?? is this matlab thing?
> But if you mean a matrix, then you can use (from help):
> ---------------------------------------
> C = intersect(A,B) for vectors A and B, returns the values common to
> the two vectors with no repetitions.
> -----------------------------------------
> --Nasser
> sorry about my wrong expression, when i say table i mean matrix. i have two matricies A and B and i need to find and output a vector with numbers that are the same at both matricies.

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.