findLobes function on MATLAB_2019a

Hi
I'm tryingt use the "findLobes" function on MATLAB 2019a.
just to mention I have all the toolboxes, including Antenna Toolbox.
from some reason I'm getting an error:
"Undefined function or variable 'findLobes'."
Does anyone have an idea why this error occurs?
Thanks

2 件のコメント

madhan ravi
madhan ravi 2019 年 5 月 15 日
Do you have license for that toolbox??
Nitai Fingerhut
Nitai Fingerhut 2019 年 5 月 15 日
of course

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

回答 (1 件)

Steven Lord
Steven Lord 2019 年 5 月 15 日

1 投票

In order to use the findLobes function in Antenna Toolbox, its first input must be a polarpattern object. When you call findLobes, is the first input a polarpattern?

3 件のコメント

Steven Lord
Steven Lord 2019 年 5 月 15 日
Neither the polarplot function nor the figure function return a polarpattern object suitable for use as the first input to findLobes.
Both the examples on the findLobes documentation page call polarpattern and pass the object it returns as output into findLobes as input. I recommend using those examples as a model for your code.
Nitai Fingerhut
Nitai Fingerhut 2019 年 5 月 15 日
thanks. I fixed it and the function works.
however, from some reason I'm only getting the data of the main lobe, eventhough there are side lobes. The field of the side lobe is an empty cell. moreover, I'm not getting the right indices of the main lobe.
the code:
figure();
p = polarpattern(vec, slice1, vec, slice2);
polarplot(vec, slice1, vec, slice2);
L = findLobes(p);
attaching a .mat file with the relevant variables.
Thanks!
ejk
ejk 2019 年 9 月 24 日
Hey, I'm also getting only the main lobe data.
Has anyone figured it out?

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

カテゴリ

質問済み:

2019 年 5 月 15 日

コメント済み:

ejk
2019 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by