findLobes function on MATLAB_2019a

3 views (last 30 days)
Nitai Fingerhut
Nitai Fingerhut on 15 May 2019
Commented: ejk on 24 Sep 2019
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

Answers (1)

Steven Lord
Steven Lord on 15 May 2019
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 Comments
Nitai Fingerhut
Nitai Fingerhut on 15 May 2019
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 on 24 Sep 2019
Hey, I'm also getting only the main lobe data.
Has anyone figured it out?

Sign in to comment.

Categories

Find more on Import, Export, and Visualization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!