How to move(translate) antenna using antenna toolbox

조회 수: 2 (최근 30일)
Jaehoon Jeong
Jaehoon Jeong 2023년 7월 4일
편집: Jaehoon Jeong 2023년 7월 4일
Hello,
I'm using antenna toolbox to extract E-fields (near/far-field).
But when I try to make an antenna, I don't know how to arrange the center of the antenna on the origin (since the antenna is automatically constructed using a simple function with frequency parameter)
I know how to tilt the antenna, but how to move according to any cartesian axis?
aut = design(horn, f0);
Anyone knows how to manyally move the antenna?
Thank you.

답변 (1개)

Sarthak
Sarthak 2023년 7월 4일
Hello Jaehoon,
You can try using the translate function which is available in the Antenna Tooolbox. I am attaching the example snippet of how we can translate a dipole antenna using translate function.
% Create a dipole antenna
dipole = dipole('Length', 0.5);
% Define the translation vector
translation = [1, 2, 3]; % [x, y, z] translation values
% Translate the antenna elements
dipole = translate(dipole, translation);
This function is available for most of the antenna elements in the Antenna Toolbox.
Hope this helps!!
  댓글 수: 1
Jaehoon Jeong
Jaehoon Jeong 2023년 7월 4일
편집: Jaehoon Jeong 2023년 7월 4일
Unfortunately, it does not work. I looked up doc of 'translate' and I also tried using two inputs for translation matrix (i.e. translation = [1,2];), but it still does not work. The error says 'The number of input and output values, or type is invalid.' (I translated it cuz it's shown in Korean. I'm sorry.)

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

카테고리

Help CenterFile Exchange에서 Antenna and Array Analysis에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by