rodralez / NaveGo

NaveGo: an open-source MATLAB/GNU Octave toolbox for processing integrated navigation systems and performing inertial sensors analysis.
Other
584 stars 212 forks source link

equation #31

Closed AliRamshini closed 4 years ago

AliRamshini commented 4 years ago

Hi Dr, I think one section of your program is wrong , am I true ? you programed following equation in line 52 at gnss_err_profile.m : gnss.std(2) = gnss.stdm(2) / (RN + h) / cos (lat);

but as you told in your article it must be : gnss.std(2) = gnss.stdm(2) / ((RN + h) * cos (lat));

and I can't find the reference of this equation in the book. thank you.

rodralez commented 4 years ago

Dear Ali,

Thank you very much for inspecting NaveGo code so thoroughly.

The mathematical expressions that you point out are equivalent.

Please, try at a MATLAB the following code:

a = rand(1), b = rand(1), c = rand(1) d = a / b / c e = a / (b * c) d == e

You will see that d and e are equal.

Best regards.

Rodrigo Gonzalez

AliRamshini commented 4 years ago

Thank you for your response alot...

On Mon, Nov 16, 2020, 22:38 Rodrigo Gonzalez notifications@github.com wrote:

Dear Ali,

Thank you very much for inspecting NaveGo code so thoroughly.

The mathematical expressions that you point out are equivalent.

Please, try at a MATLAB the following code:

a = rand(1), b = rand(1), c = rand(1) d = a / b / c e = a / (b * c) d == e

You will see that d and e are equal.

Best regards.

Rodrigo Gonzalez

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rodralez/NaveGo/issues/31#issuecomment-728264759, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPKSQEXGGVZOSDUQU6XNATSQF2ELANCNFSM4TWLYSIA .