Using distance formula to measure "power distance"
I'm trying to estimate distance between two wifi measures, using n dimensional distance formula:
$$ d(P_1, P_2) = \sqrt{\sum_{i=1}^{n}(AP_{i,2} - AP_{i,1})^2} $$
where 'n' its the number of access points measured, and 'AP' the wifi power signal in mW. The point of that is get the distance between device wifi scan and some locations where I saved and stored wifi power signal. By selecting the less distance, I can determine (with some accuracy) device location.
My question is:
- Can I use this formula for power units, or its just for metric space?
- Is there some formula better for this purposes?
P.S. I have read this previous Question
Statistics formula for wifi positioning.
and its Answer, but I can't use this formula because of building features.
$\endgroup$ 2 Reset to default