0

I need to take the median of a set of values of path loss (dB) in MatLab. Does anyone know that they shall be converted to linear units like Watts before their median is calculated by the formula. The result is different in both the cases but i don't know which one is correct.

Undo
  • 25,519
  • 37
  • 106
  • 129

1 Answers1

0

The median is just the middle number if you were to line them up in ascending or descending order. It should give the same result if you convert to a linear scale or if you keep it as dB.

However, if there are an even number of values, then it will make a difference and you should probably stick with the linear values.

Choppin Broccoli
  • 3,048
  • 2
  • 21
  • 28