Access RF Budget Power Out vs Frequency Array
古いコメントを表示
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 件のコメント
採用された回答
その他の回答 (1 件)
UDAYA PEDDIRAJU
2023 年 9 月 28 日
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
カテゴリ
ヘルプ センター および File Exchange で Visualization and Data Export についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!