How do I get my custom radiation pattern to properly make a custom antenna element in the phased array system toolbox?
16 次查看(过去 30 天)
显示 更早的评论
I am trying to import a radiation pattern from COMSOL to create a custom antenna element. I used Matlab to first create a matrix of points at which I want COMSOL to output the radiation pattern. This radiation pattern is then imported back into Matlab to create the custom element. With the original measurement points and new radiation magnitude values, I am able to create a 3D scatter plot that looks exactly how the radiation pattern should look:
(a large main beam with several side lobes) However, when I attempt to use phased.CustomAntennaElement, the resulting pattern is nothing like the intended shape:
I have made sure that all the units are correct (azimuth and elevation angles instead of phi and theta, dB instead of mag) and that the radiation pattern matrix is in the correct order.
I have attached the .m file containing my code, along with the coordinate file created for COMSOL and the data file that COMSOL returns.
Thank you in advance for your help.
1 个评论
Mike Lee
2017-3-8
Hi Nick,
I am trying to do something similar as your task and I am really a novice to the Matlab. Do you mind if I ask how you got the scatter plot? I have a set of data including azimuth, elevation, and amplitude and trying to get a scatter plot first.
Thank you
采纳的回答
Honglei Chen
2016-2-9
Hi Nick,
Could you explain your data file a bit? I took a quick look at your script and I noticed that you are using degrees in the input when you invoke sph2cart function in MATLAB. However, the sph2cart function assumes that the inputs are in radians. Therefore, it seems that there is some mismatch there. On the other hand, when you do scatter3 plot, it looks like that you skip the z coordinates and directly uses the pattern data. Therefore, I'm a bit confused about how to interpret the data. Thanks.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Antennas, Microphones, and Sonar Transducers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!