Since obtaining maximum power from photovoltaic panels is important, it is necessary to have precise knowledge about time-varying solar angles so that solar rays can reach perpendicular to the panels. In this paper, solar altitude and azimuth angles are calculated for a 1 year period at 41. latitude and 39. longitude in the Northern hemisphere, where Turkey is located because these angles are considered for two-axis solar tracking system. However, the changes of these angles are explained for the longest and shortest day of the year respectively. The model created in the MATLAB/ Simulink platform also informs us about other solar angles that reach the panel according to the panel's location on the given day. The simulation model provides convenience to determine optimum motor steps of two-axis solar tracking systems designed anywhere.