How to make polardb finction work

I want to draw a beam, but I refer to the example in this article.
Code source
I want to draw the beam as shown below
figure('NumberTitle','off','Name','Figure 11.9 in Polar','Position',[0 0 600 850]);
subplot(2,1,1);
polardb(angle*pi/180,10*log10(abs(C1).^2),-60,'b');
title('Beampattern Using Definition');
grid on;
Will show the following error
Where is polardb defined?
How to correct it?
Thx.

1 Comment

How can you even spell the word wrong in the title?

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 7 Feb 2020

Commented:

on 18 Apr 2022

Community Treasure Hunt

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

Start Hunting!