[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Comparing vectors to matricies
From: |
dirac |
Subject: |
Comparing vectors to matricies |
Date: |
Wed, 1 Sep 2010 06:53:11 -0700 (PDT) |
Hi all, I apperciate this has been dealt with many a time before...But I have
one vector I would like to compare to another row of a matrix. Basically I
have
a = vector of length ~300
b = matrix of length ~10000
The vectors and matricies are in asceding order so idealy I want to look at
a(1) and find the index of b that closest matches it. And then a(2) etc. The
ultimate goal is to match the avlues of a to the corresponding values from
the second column in b.
Any help will be really apreciated, even if it is functions to look at.
Thanks
Martin
-----
Pretty much convinced Octave>Excel for scientific data analysis!
--
View this message in context:
http://octave.1599824.n4.nabble.com/Comparing-vectors-to-matricies-tp2403204p2403204.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Comparing vectors to matricies,
dirac <=