Create an amplifier with a gain of 4 dB.
a = amplifier('Gain',4);
Create a modulator with an OIP3 of 13 dBm.
m = modulator('OIP3',13);
Create an nport using passive.s2p.
n = nport('passive.s2p');
Create an rf element with a gain of 10 dB.
r = rfelement('Gain',10);
Calculate the rf budget of a series of rf elements at an input frequency of 2.1 GHz, an available input power of -30 dBm, and a bandwidth of 10 MHz.
b = rfbudget([a m r n],2.1e9,-30,10e6)
b =
rfbudget with properties:
Elements: [1x4 rf.internal.rfbudget.Element]
InputFrequency: 2.1 GHz
AvailableInputPower: -30 dBm
SignalBandwidth: 10 MHz
Solver: Friis
AutoUpdate: true
Analysis Results
OutputFrequency: (GHz) [ 2.1 3.1 3.1 3.1]
OutputPower: (dBm) [ -26 -26 -16 -20.6]
TransducerGain: (dB) [ 4 4 14 9.4]
NF: (dB) [ 0 0 0 0.1392]
IIP2: (dBm) []
OIP2: (dBm) []
IIP3: (dBm) [ Inf 9 9 9]
OIP3: (dBm) [ Inf 13 23 18.4]
SNR: (dB) [73.98 73.98 73.98 73.84]
Show the analysis in the RF Budget Analyzer app.
show(b)