Plot CCDF curves
CCDF measurements in the
H = plotCCDF(
meter and returns the plot handles as an output
The number of curves plotted equals the number of input channels.
Find Relative Power for Specified Probability
Compute the average power measurement of the generated voltage signal.
x = complex(rand(10000,1)-0.5,rand(10000,1)-0.5); pm = powermeter(ComputeCCDF=true); averagePower = pm(x); % power in dB
Compute the probability that the instantaneous power of the signal is 3 dB above the average power.
prob = probability(pm,3) % probability in percentage
prob = 7.6009
Plot the CCDF curve.
Find the relative power for the given probability.
relativepwr = relativePower(pm,prob)
relativepwr = 3.0000
ax — Axes object
Target axes, specified as an
axes object. If you do not specify the axes, MATLAB plots into the current
axes. The x-axis represents the relative power in dB, the ratio of
instantaneous signal power to the average signal power. The y-axis
represents the probability, in percentage, that the relative power exceeds a specified
H — Plot handle output
Plot handle output, returned as a
line object. For more information
about plot handle properties, see Line Properties.
Introduced in R2022a