function h = polarplot(varargin)
%POLARPLOT Polar plot.
% POLARPLOT(TH,R) plots vector TH vs R. The values in TH
% are in radians. If TH or R is a matrix, then the vector
% is plotted versus the rows or columns of the matrix,
% whichever line up.
%
% POLARPLOT(R) plots radial values R spread equally around
% the circle from 0 to 2pi.
%
% POLARPLOT(Z) if Z is complex plots TH=angle(Z) and R=abs(Z).
%
% POLARPLOT(TH,R,S) plots with line specification S.
%
% POLARPLOT(TH1,R1,S1,TH2,R2,S2,...) combines the plots defined
% by the (TH,R,S) triples.
%
% POLARPLOT(AX,...) plots into the axes with handle AX.
%
% POLARPLOT returns a column vector of handles to lineseries objects, one
% handle per plotted line.
%
% The TH,R pairs, or TH,R,S triples, can be followed by
% parameter/value pairs to specify additional properties
% of the lines. For example, POLARPLOT(TH,R,'LineWidth',2,'Color',[.6 0 0])
% will create a plot with a dark red line width of 2 points.
%
% Example
% t = 0 : .01 : 2*pi;
% polarplot(t, sin(2*t).*cos(2*t), '--r');
%
% See also: RLIM, POLARAXES, PLOT
% Copyright 2015-2016 The MathWorks, Inc.
narginchk(1,inf)
[cax, args] = axescheck(varargin{:});
if ~isempty(cax) && ~isa(cax, 'matlab.graphics.axis.PolarAxes')
error(message('MATLAB:polarplot:AxesInput'));
end
try
cax = matlab.graphics.internal.prepareCoordinateSystem('polar', cax);
% check for polarplot(R,...) or polarplot(Z,...)
nargs = length(args);
if nargs > 0 && ~ischar(args{1}) && ~isstring(args{1})
if nargs == 1 || ischar(args{2}) || isstring(args{2})
R = args{1};
R = matlab.graphics.chart.internal.datachk(R,'numeric');
if isvector(R)
m = length(R);
else
m = size(R,1);
end
if isreal(R)
TH = linspace(0,2*pi,m);
else
Z = double(R);
TH = angle(Z);
R = abs(Z);
end
args = {TH,R,args{2:end}};
end
end
obj = plot(cax, args{:});
catch e
throwAsCaller(e);
end
if nargout > 0
h = obj;
end
基于Hata模型的BPSK调制信号小区覆盖模拟matlab仿真.zip
版权申诉
23 浏览量
2022-11-07
19:54:09
上传
评论
收藏 49KB ZIP 举报
天天Matlab科研工作室
- 粉丝: 3w+
- 资源: 7259
最新资源
- densenet模型-python语言pytorch框架的图像分类宠物行为分类识别-不含数据集图片-含逐行注释和说明文档.zip
- alexnet模型-基于深度学习识别水果种类-不含数据集图片-含逐行注释和说明文档.zip
- earsertrweeqewrr
- alexnet模型-基于深度学习对草莓品级果识别-不含数据集图片-含逐行注释和说明文档.zip
- 微信小程序五子棋游戏,有悔棋,清屏等功能
- alexnet模型-python语言pytorch框架训练识别餐桌美食-不含数据集图片-含逐行注释和说明文档.zip
- proteus下载安装 具体步骤
- proteus下载安装 具体步骤
- proteus下载安装 具体步骤
- proteus下载安装 具体步骤
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈