VLOOK UP function in Matlab

9 次查看(过去 30 天)
Marek
Marek 2011-3-29
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 个评论
Gautam Vallabha
Gautam Vallabha 2011-3-29
Do you have the data in MATLAB, in a 64000 x 3 matrix?
Marek
Marek 2011-4-20
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.

请先登录,再进行评论。

回答(1 个)

Oleg Komarov
Oleg Komarov 2011-4-20
Use ismember
  2 个评论
Marek
Marek 2011-4-26
hmm...what does ismember mean?
Walter Roberson
Walter Roberson 2011-4-26
See the documentation, http://www.mathworks.com/help/techdoc/ref/ismember.html

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by