[Top][All Lists]

[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

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.


Pretty much convinced Octave>Excel for scientific data analysis!
View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]