LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Companding

Please help me answer this question will be greatly appreciated, what is the function in the loop?

0 Kudos
Message 1 of 4
(2,347 Views)

Let's call the indexed input X[i]

 

For each loop iteration:

----------------------

If X[i] is <= inverse(A) then result = X[i]*A

 

else,

 

result = ln (X[i]*A)+1

----------------------

 

 

Is this what you wanted to know?

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 4
(2,337 Views)

mahady,

 

The function in the loop is Natural Logarithm.  You can find out the name and description of any LabVIEW function by bringing up Context Help (ctrl-H) and moving your mouse over the function.  You can then click "Detailed Help" to see more information about the function.

 

Chris M

0 Kudos
Message 3 of 4
(2,325 Views)
Ahh beautifully explained, I see ur using array indexing here, but briefly could u explain how u came up with inverse(A)? Are u familiar with the a law compression?
0 Kudos
Message 4 of 4
(2,310 Views)