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