football

Draw a world cup football.

You are now following this Submission

football()
The returned values ind5 and ind6 are the vertex indices of the regular pentagons and regular hexagons, respectively, derived from the data generated by bucky:
[indV5, indV6] = football()
% indV5 =
%
% 1 2 3 4 5
% 6 7 8 9 10
% 11 12 13 14 15
% 16 17 18 19 20
% 21 22 23 24 25
% 26 27 28 29 30
% 31 32 33 34 35
% 36 37 38 39 40
% 41 42 43 44 45
% 46 47 48 49 50
% 51 52 53 54 55
% 56 57 58 59 60
%
%
% indV6 =
%
% 1 6 10 12 11 2
% 1 5 26 30 7 6
% 2 11 15 17 16 3
% 3 16 20 22 21 4
% 4 21 25 27 26 5
% 9 38 37 13 12 10
% 30 29 43 42 8 7
% 38 39 41 42 8 9
% 14 33 32 18 17 15
% 33 34 36 37 13 14
% 19 53 52 23 22 20
% 31 32 18 19 53 54
% 27 25 24 48 47 28
% 48 49 51 52 23 24
% 43 44 46 47 28 29
% 57 40 36 34 35 56
% 56 35 31 54 55 60
% 57 58 45 41 39 40
% 58 59 50 46 44 45
% 59 60 55 51 49 50

Cite As

Zhaoxu Liu / slandarer (2026). football (https://se.mathworks.com/matlabcentral/fileexchange/121168-football), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

Code simplification

1.0.0