How do I draw an antenna pattern 2D and 3D figure with this data?

55 ビュー (過去 30 日間)
HONG CHENG
HONG CHENG 2019 年 10 月 31 日
回答済み: Shashwat Bajpai 2021 年 6 月 11 日
If you are interested in this question, you can download the data.
I am a student majoring in computer engineering,so I don't fully understand the meaning of this data.
But I beleive that with these data, I can draw a similar 3D and 2D antenna pattern for my paper.
I have tries the functions in Antenna Toolbox, but the input of these functions are different from mydata.
Here is a screen shot of the data, there are 5 colomns
微信图片_20191031235834.png
微信截图_20191031235927.png
微信截图_20191031235941.png
I hope I can get a similar figure like the following one.
微信图片_20191101000112.png
微信截图_20191101000210.png
Thanks in advance!

採用された回答

Cyrus Tirband
Cyrus Tirband 2019 年 10 月 31 日
You have insufficient data to plot a 3D Figure, as it would require a measurement for every observation angle (combination of azimuth and polar angle). It seems like you have the data of all angles θ for a given ϕ, and all angles ϕ for a given θ, but not every combination (this would require a very long measurement and special equipmentto do, and is not very practical).
However, a 2d polar plot is possible, but simply using polarplot.
You will have to unwrap your phase a bit, since it ranges from -90 to 90 and goes back, but it should go from -180 to 180 or 0 to 360;
Once done, you'll get the plot below, using your data from the last two columns (phi vs S21). You can change the axis, ticks, and all the other things to your liking. In fact, it looks almost identical to the picture you already posted, but mirrored, did you already use the data to plot the picture?:
antenna_pattern.png
  1 件のコメント
HONG CHENG
HONG CHENG 2019 年 11 月 1 日
Thanks for your kind consideration!
The figures in the excel are not created by myself. and I use the following codes just have this figure without the "unwrap phase" that you mentioned.
I used the
polarpattern
of Antenna Toolbox and got this
微信截图_20191101103322.png
after I change the phase from the orignal one to 0~360, I got the similar one image
figure;polarpattern(angleAtt_data2(:,1),angleAtt_data2(:,2),'LineWidth',3)
微信截图_20191101104929.png
What's more, when the phase is from -180 to 180, the figure is totally same

サインインしてコメントする。

その他の回答 (1 件)

Shashwat Bajpai
Shashwat Bajpai 2021 年 6 月 11 日
You can also use Antenna Toolbox where you don't need to calculate/collect all of the data. You'll just need to provide the type of antenna and the design frequency and it'll help you design, analyze and calculate all the parameters as per your requirement.
Hope this helps!

カテゴリ

Help Center および File ExchangeAntennas and Electromagnetic Propagation についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by