• Remix
  • Share
  • New Entry

  • Eric Ogier

  • /
  • Windrose indicating MATLAB direction

on 13 Oct 2021
  • 7
  • 27
  • 0
  • 0
  • 258
x=[0 1 0 0];
y=[0 1 8 0];
R=[6 8 10];
D=[0 45 0];
N=[17 5 5];
for n=1:3
A=linspace(0,360,N(n));
for a = A+D(n)
X=R(n)*x;
Y=R(n)*y;
patch(+X*cosd(a)-Y*sind(a),X*sind(a)+Y*cosd(a),'k');
hold on
patch(-X*cosd(a)-Y*sind(a),-X*sind(a)+Y*cosd(a),'w');
end
end
text(-3,85,'M');
axis equal off
Remix Tree