The incomplete radiation pattern

조회 수: 3 (최근 30일)
Lu
Lu 2023년 11월 19일
댓글: Lu 2024년 1월 2일
Hello, everyone.
I have got the x,y,z coordinates and MagE for a radiation pattern. But when I want to plot it in spherical coordinates using 'patternCustom' function, I found the pattern is incomplete.
I attaced the data and script here. Can someone help me?
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2023년 11월 27일
the function patternCustom is not provided

댓글을 달려면 로그인하십시오.

채택된 답변

Rangesh
Rangesh 2023년 12월 29일
Hi Lu,
I understand that you would like to know about the incomplete appearance of the radiation pattern plot generated by the function `patternCustom`.
This is because the radiation patterns magnitude data is available only for a limited set of phi and theta angles, resulting in gaps in the plot. To obtain a complete plot, the theta and phi values should span a continuous range.
Below, I have included a sample code that demonstrates how to generate a continuous set of theta and phi values for plotting the radiation pattern.
Theta=-179:3:180;
theta=repmat(Theta,1,60)'; % repeat along the columns
Phi=-89:3:90;
phi=repmat(Phi,120,1); %repeats along the rows
phi=phi(:); % reshapes the matrix into arrays
I=rand(length(theta),1); % generates a random number
patternCustom(I,theta(1:length(I)),phi(1:length(I)));
You can refer the following links to understand the functions used:
I hope this resolves your query.
  댓글 수: 1
Lu
Lu 2024년 1월 2일
Thanks for your answer.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by