PREDICT NEW FONCTION WITH DEEP LEARNING

13 views (last 30 days)
albert Kinda
albert Kinda on 1 Aug 2025
Edited: Walter Roberson on 8 Aug 2025
I want to find a function h that does not depend on aztan
I have this function
h=acos((sin(w*pi/180)*cos(de))/sin(aztan))
where
aztan=atan(sin(w*pi/180)/(sin(phir)*cos(w*pi/180)-cos(phir)*tan(de)))
w=hour angle, de=declinaison, aztan=azimut, phir=lattitude
  1 Comment
Meg Noah
Meg Noah on 8 Aug 2025
Can you just do this:
w = 2.3; % [deg] hour angle
de = deg2rad(65); % [rad] declination angle
phir = deg2rad(45); % [rad] latitude
h=acos((sind(w)*cos(de))/sin(atan2(sind(w),(sin(phir)*cosd(w)-cos(phir)*tan(de)))))
h = 1.2210

Sign in to comment.

Answers (0)

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!