フィルターのクリア

3D Circular patterns

2 ビュー (過去 30 日間)
Irwin2020
Irwin2020 2019 年 5 月 31 日
編集済み: Irwin2020 2019 年 6 月 1 日
Please help me plot this function in 3D circular patterns , i.e I'm trying to loop it around in the shape of a circil.
clc
f= 6805000000; % frequncy = 5405000000
C= 299792458; %Speed of the light
d=2
x= -5:0.1:5;
y= sin(x)';
xr=x*pi/180;
yr=y*pi/180;
theta=sqrt(xr.^2+yr.^2);
x1= theta*f*d/C;
sinc_xA= sinc(x1);
A=sinc_xA.^4;
A3D = 10*log10(A);
z=A3D*180;
%3D-Plot
figure()
[xr,yr] = meshgrid(xr,yr);
% z = sinc(xr/4).*sinc(yr/4);
mesh(xr,yr,z);
% mesh(r.*cos(yr),r.*sin(xr),z);
xlabel('(degrees)');
ylabel(' (degrees)');
zlabel(' (Direction)');
  2 件のコメント
darova
darova 2019 年 5 月 31 日
What a problem do you have?
Irwin2020
Irwin2020 2019 年 5 月 31 日
編集済み: Irwin2020 2019 年 5 月 31 日
I’m trying to plot this function in 3D circular patterns, basically the two input variables ( xr, yr) want them to go around and make a plot similar to this screenshot..

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by