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!
1 个评论
Jordan Ross
2017-1-23
Hello Luki,
Can you state the question that you are looking to have answered? What is the end result that you are expecting?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!