Access RF Budget Power Out vs Frequency Array
Mostrar comentarios más antiguos
How do I access/use the frequency-dependet values that I can plot using
rfplot(rfobj,rfpara)
For example, like Pout in https://www.mathworks.com/help/rf/ug/visualizing-rf-budget-analysis-over-bandwidth.html.
I want to be able to run statistics like average and variance on the gain and power.
1 comentario
Respuesta aceptada
Más respuestas (1)
UDAYA PEDDIRAJU
el 28 de Sept. de 2023
Hi Temmeand,
I understand that you want to access the data plotted by the “rfplot” function. You can access this data through the "plot" object, which contains the properties of the data plotted.
Here’s an example:
h = rfplot(rfobj, rfparam);
data = h.YData;
In this code, "h" is a handle to the plot object created by “rfplot”. The “YData” property of "h" contains the y-coordinates of the data points in the plot, which should correspond to the frequency-dependent values you’re interested in.
You can then use these values to calculate statistics like average and variance. For example:
avg = mean(data);
variance = var(data);
I hope this example helps you understand the concept.
Thank you,
Uday
Categorías
Más información sobre Visualization and Data Export en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!