필터 지우기
필터 지우기

If sin(h) has a known value, how can I find h with matlab?

조회 수: 1 (최근 30일)
Mikolaj Jankowski
Mikolaj Jankowski 2018년 10월 30일
댓글: madhan ravi 2018년 10월 30일
In a function I am trying to write, sin(h) is dependant on input variables when calling the function. Then however, function develops dependant on value of h. How can I find the value of h for if statements later in text?
Essentially:
sin(h)=max(0,sin(lat)*sin(decl)+cos(lat)*cos(decl)*cos(w_d*(t+43200)));
if h <= 0
Insd=0
else
Insd=S*(e^(-C_ext))*sin_h*(1-0.71nc);
end

채택된 답변

madhan ravi
madhan ravi 2018년 10월 30일
y = sin(x)
asin(y) %gives value of x

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by