How to set up a function using an input-output table, but different input values

3 次查看(过去 30 天)
Consider a table with two columns: The left column gives input power and the right column the corresponding output power. There are 40 rows. The smallest value of the input power is -25 dBm. I want to set up two functions:
x = P1 * sin(2*pi*fc*t) + P2 * sin(2*pi*fc*t)
y = P1_out * sin(2*pi*fc*t) + P2_out * sin(2*pi*fc*t)
, where P1 = input power and P2 = input power, but P2 is always 3dBm smaller than P1. So for example: P1 = -22dBm, then P2 = -25dBm.
The problem is: The smallest value of Pin = -25dBm. That means P1 cannot become smaller than -22dBm, because otherwise P2 would be smaller than -25dBm. And there is no corresponding output value for P2 smaller than -25dBm.
I hope it is clear what my problem is. Every help is welcome!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by