Simulink for current realization in dB

How can we realize in simulink if we have been specified that some current is x dB of some other currrent? For e.g. i1 = 15 dB of i2. Do we take 20 log of i2 as we normally do for power or is there something else to it. How can this be realized in simulink?

3 Comments

hello
you can convert the dB gain in linear gain and put this value in a "gain" block
linear_gain = 10^(dB_gain / 20)
Is the current 'i1' is 'x' db less or more than the current 'i2'?
only one current is known i2 and x is known

Answers (1)

Aman Vyas
Aman Vyas on 9 Oct 2020
Hi,
You can use Matlab Function block in your simulink and customize it as required. There claerly you can first convert dB to linear gain and then finally can use i1= x* i2; where x is linear gain.
For more on this function you can refer to below documentation link:
Hope it helps !

This question is closed.

Products

Asked:

SSK
on 4 Oct 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!