Rank: 800 based on 169 downloads (last 30 days) and 1 file submitted
photo

Vincent Roy

E-mail
Lat/Long
45.5, -75.7

Personal Profile:

 

Watch this Author's files

 

Files Posted by Vincent Roy
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Feb 2009 Screenshot sun_position.m Sun position given observer time/location. Author: Vincent Roy sun position, zenith, elevation, azimuth, earth sciences, astronomy 169 35
  • 4.75
4.8 | 24 ratings
Comments and Ratings by Vincent Roy View all
Updated File Comments Rating
10 Jul 2012 sun_position.m Sun position given observer time/location. Author: Vincent Roy

Dan,

You can set the altitude with the location.altitude parameter (in units of meter above sea level)

Vince

28 May 2012 sun_position.m Sun position given observer time/location. Author: Vincent Roy

Anandhaprabu,

Don't forget to set your UTC time difference (time.UTC).

Vince

Comments and Ratings on Vincent Roy's Files View all
Updated File Comment by Comments Rating
28 Nov 2014 sun_position.m Sun position given observer time/location. Author: Vincent Roy Clara

My program is telling me that I have an error in line 47, this code.

Undefined function 'sun_position_gha_dec' for input arguments of type 'struct'.

Error in plot_orbit_v3 (line 47)
sunp = sun_position_gha_dec(time);
Line 47:
sunp = sun_position_gha_dec(time);

table = [
fix(sunp.gha) abs(sunp.gha-fix(sunp.gha))*60;
fix(sunp.dec) abs(sunp.dec-fix(sunp.dec))*60]';

06 Mar 2014 sun_position.m Sun position given observer time/location. Author: Vincent Roy David Young

10 Feb 2014 sun_position.m Sun position given observer time/location. Author: Vincent Roy Ander

Hi, I have a quick question. Is there a way to use this function in reverse? I have a known lat/lon position, the year, the day, and the 3 solar elevation angles. Based on those givens, I am trying to determine the time of day. Is that possible with this?
Thanks!
Andy

10 Jan 2014 sun_position.m Sun position given observer time/location. Author: Vincent Roy Willem

05 Nov 2013 sun_position.m Sun position given observer time/location. Author: Vincent Roy Xander

Hello, I have a problem! Can you help me with it?

///sun_position
Error using sun_position (line 96)
Not enough input arguments.

Contact us