VLOOK UP function in Matlab

Hi,
dealing with one solution. Being an excel user jumping to matlab. Problkem statement: Having excel table defined by 3 columns (Temperature, solar irradiation, absolute humidity). Each column represents around 64000 values. I need script (in excel it is vlookup func.)to find and write corect absolute humidity regarding defined 1)Temperature 2)solar irradiation. If 1,2 wouldnt match requirements defined, finding the closest value.
Cheers!
marek

2 Comments

Do you have the data in MATLAB, in a 64000 x 3 matrix?
Well, lets say I have 4 variables: A,B,C and D. So I have 4 columns (64000 x 4). First I need to calculate abs.humidity out of C,D and than search for this calculated value regarding A and B.

Sign in to comment.

Answers (1)

Oleg Komarov
Oleg Komarov on 20 Apr 2011

0 votes

Use ismember

2 Comments

hmm...what does ismember mean?
See the documentation, http://www.mathworks.com/help/techdoc/ref/ismember.html

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 29 Mar 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!