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 个评论

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

回答(1 个)

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 !

此问题已关闭。

产品

提问:

SSK
2020-10-4

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by