How do i plot a polarpattern with 2D
2 views (last 30 days)
Show older comments
Hello I need to ask about the Ambisonic b-format directional characteristics WXYZ like the picture.
W=omnidirectional
X、Y ="8" type directional
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1314895/image.png)
W(t) = s(t)/√2
X(t) = s(t)cosϕcosδ,
Y(t) = s(t)sinϕcosδ,
Z(t) = s(t)sinδ,
Thank you~~
2 Comments
Star Strider
on 5 Mar 2023
There is too much missing information!
phi = randn*pi;
delta = randn*pi;
s = @(t) t;
W = @(t) s(t)./sqrt(2);
X = @(t) s(t).*cos(phi).*cos(delta);
Y = @(t) s(t).*sin(phi).*cos(delta);
Z = @(t) s(t).*sin(delta);
t = linspace(0, 2*pi, 50);
figure
Pax = polaraxes;
hold on
polarplot(Pax, t, W(t))
polarplot(t, X(t))
polarplot(t, Y(t))
polarplot(t, Z(t))
hold off
.
Answers (0)
See Also
Categories
Find more on Polar Plots 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!