How to find out the impact of independents variables on dependent variable?

조회 수: 2 (최근 30일)
Thodoris Ptrks
Thodoris Ptrks 2019년 5월 14일
답변: Andrei Bobrov 2019년 5월 14일
Hi all! I have 365 values of evapotranspiration and 365 values of temperature, solar radiation, relative humidity and wind speed which i used them to calculate the evapotranspiration. i need to know which one of these four variables affects more the evapotranspiration.. is anyone to know how to do it..?
  댓글 수: 2
darova
darova 2019년 5월 14일
What this quiestion has in common with MATLAB? You didn't attach any formulas
Thodoris Ptrks
Thodoris Ptrks 2019년 5월 14일
i need to know if there is a way to do it..

댓글을 달려면 로그인하십시오.

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2019년 5월 14일
Let A - array of your data (365 x 5) : evapotranspiration, temperature, solar radiation, relative humidity and wind speed
c = corrcoef(A);
c = c(:,1);
[out,ii] = max(c(2:end));

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by