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: Classify rows in a matrix ?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Mathew Thomas

Posts: 171
Registered: 6/17/09
Classify rows in a matrix ?
Posted: Jul 27, 2012 1:06 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a matrix A for example;

A = 45 60 70 80 30 40
20 40 60 80 10 10
16 40 60 70 80 90
45 50 50 80 90 70

Each row in the matrix corresponds to a particular frequency. How can I classify/ compare each row against each other to determine if any rows are same class as another row (basically if any 2 frequencies belong to the same class) ?

I was thinking of taking each row as Training data and the matrix 'A' as the Sample and applying the knnclassification function in MATLAB, but am not sure if this is the best approach.

- 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.