- /
-
Mathwork logo - Flag of USA - HD
on 20 Oct 2021
- 6
- 38
- 0
- 0
- 267
% figure(Color='k');
L=40*membrane(1,25);
hold on
s=@(x,C)surface(x,FaceC=C,EdgeC='n');
% white stripes
s(L,'w');
% red stripes
R=L;
R([6:8,14:16,22:23,29:30,36:37,43:45],:)=-inf;
s(R,'r')
% blue area
B=L;
B(1:23,:)=-inf;
B(:,27:51)=-inf;
s(B,'b');
% white stars
for i=0:5:20
plot(3:4:25,48-i,'w*');
plot(5:4:21,45-i,'w*');
end
view(3)
axis equal off
camlight
material dull