Azzera filtri
Azzera filtri

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

5 visualizzazioni (ultimi 30 giorni)
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!
  1 Commento
Jordan Ross
Jordan Ross il 23 Gen 2017
Hello Luki,
Can you state the question that you are looking to have answered? What is the end result that you are expecting?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by