Welcome to the NavList Message Boards.

NavList:

A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding

Compose Your Message

Message:αβγ
Message:abc
Add Images & Files
    or...
       
    Reply
    Re: Curve fitting for noon Sun
    From: Rafael C. Caruso
    Date: 2020 Jan 14, 14:18 -0800

    Ahhh. Thank you very much.  This is precisely the answer to my question, which I am not sure I stated very clearly.  I had an inkling that the formula for altitude vs. time might involve a solution for a spherical triangle, but I wasn't even close to figuring it out. I won't have time to get to this immediately, but it will be a most enjoyable exercise for winter days.   

    As you say, this can be approched using a spreadsheet, which is how I'll start, as it's quite "hands on".  Another method is to use an application that allows you to specify a mathematical model, and its free parameters, for which you have to input an inital estimate. The algorithm then varies the value of the free pararameters until the sum of squares is minimized.

    One of these software packages is Kaleidagraph, which is not freeware but not too pricy. Once one figures out the somewhat quirky syntax it requires to enter an equation, it is not hard to use. The two best known programs are Matlab and Octave, which have a built-in function called "lsqcurvefit" to accomplish this. Octave is freeware, and is a Matlab clone without some of its powerful features, which are not requireed for this problem. Matlab is now extremely expensive, unless one's workplace has an institutional license. Unfortunately, both have a somewhat steep learning curve.

    I'll definitely look into the book(s) by Hewitt Schlereth, whose welcome is much appreciated.

    Kind regards, Rafael

       
    Reply
    Browse Files

    Drop Files

    NavList

    What is NavList?

    Join NavList

    Name:
    (please, no nicknames or handles)
    Email:
    Do you want to receive all group messages by email?
    Yes No

    You can also join by posting. Your first on-topic post automatically makes you a member.

    Posting Code

    Enter the email address associated with your NavList messages. Your posting code will be emailed to you immediately.
    Email:

    Email Settings

    Posting Code:

    Custom Index

    Subject:
    Author:
    Start date: (yyyymm dd)
    End date: (yyyymm dd)

    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site