Advertisement
makispaiktis

Real and measured IFout and IM3

Nov 27th, 2021 (edited)
1,323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.61 KB | None | 0 0
  1. clear all
  2. clc
  3.  
  4. RF_in = [-40, -30, -20, -10, -5, 0, 2, 5, 6, 7];
  5. noise = -75;
  6. IF_out = [-58:10:-28 -23 -17 -15 -12 -11 -10];
  7. intermodulation = [noise noise noise noise -72 -59 -54 -49 -44 -41];
  8. plot(RF_in, IF_out, 'red');
  9. title('Intermodulation products');
  10. hold on
  11. plot(RF_in, intermodulation, 'blue');
  12. hold on
  13. % Proektaseis
  14. RF_in_new = [-5:1:35];
  15. y1 = 1.074*RF_in_new - 12.35;
  16. y2 = 2.498*RF_in_new - 54.41;
  17. plot(RF_in_new, y1, 'y--');
  18. hold on
  19. plot(RF_in_new, y2, 'g--');
  20. xlabel('P_{in} (dBm)');
  21. ylabel('P_{out} (dBm)');
  22. legend('Measured IF_{out}', 'Measured IM_3', 'Linear IF_{out}', 'Linear IM_3');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement