RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
DOP.c File Reference

Compute the Position Dilution of Precision (PDOP). More...

#include <math.h>
#include "DOP.h"
#include "moore_penrose_pseudo_inverse.h"
#include "matrix.h"

Go to the source code of this file.

Functions

matrix_t get_PDOP (uint8_t m, matrix_t ref_Matrix[m][3], matrix_t true_pos[m])
 Compute the Position Dilution of Precision (PDOP). More...
 

Detailed Description

Compute the Position Dilution of Precision (PDOP).

Author
Zakaria Kasmi zkasm.nosp@m.i@in.nosp@m.f.fu-.nosp@m.berl.nosp@m.in.de
Naouar Guerchali

Definition in file DOP.c.

Function Documentation

◆ get_PDOP()

matrix_t get_PDOP ( uint8_t  m,
matrix_t  ref_Matrix[m][3],
matrix_t  true_pos[m] 
)

Compute the Position Dilution of Precision (PDOP).

Parameters
[in]mnumber of the reference stations.
[in]ref_Matrixthree-dimensional coordinates of the reference stations.
[in]true_posthree-dimensional coordinates of the mobile device.
Returns
the PDOP-value.

Definition at line 30 of file DOP.c.

References matrix_mul(), matrix_t, matrix_transpose(), and moore_penrose_get_pinv().

Referenced by multipath_algo_own_norm_distr_test(), and pos_algos_common_test().