How can I plot a Helical phase fronts similar to the following picture

21 views (last 30 days)
XI60G8A[RLA)BP$R]LE4~NA.png

Accepted Answer

darova
darova on 8 Oct 2019
Use meshgrid and surf commands
  7 Comments
darova
darova on 9 Oct 2019
Looks like just the same spiral copied and rotated
k = 3; % play with this
r = linspace(0,5,10);
t = linspace(0,5);
[R,T] = meshgrid(r,t);
X = @(T) R.*cos(T);
Y = @(T) R.*sin(T);
Z = k.*T;
cla
n = 5;
hold on
for i = 1:n
g = surf(X(T+2*pi*i/n),Y(T+2*pi*i/n),Z);
set(g,'FaceColor',rand(1,3),'FaceAlpha',0.5)
end
hold off
axis equal
img1.png

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics 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!