Grid Sphere
Produces a nearly even grid over the surface of a sphere.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Kurt von Laven (2026). Grid Sphere (https://www.mathworks.com/matlabcentral/fileexchange/28842-grid-sphere), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.15.0 (15 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.15.0 | Added a link to another FX submission that this submission uses code from. |
||
| 1.14.0 | Moved some words in comments onto previous lines where they fit without exceeding 80 columns. |
||
| 1.13.0 | Removed write and execute permissions from group/others on all *.m files. |
||
| 1.12.0 | Removed trailing whitespace and switched from 2 spaces after each period to 1 in the interest of readability. |
||
| 1.11.0 | Added space in title. |
||
| 1.10.0 | Made code available as a toolbox and removed some unnecessary hidden files. |
||
| 1.9.0 | A MATLAB user reported a crash on line 23 of RemoveEqualPairs.m. This change fixes the type mismatch error by converting a double to a uint32. GNU Octave users will be unaffected by this change as GNU Octave handles the type conversion automatically. |
||
| 1.8.0 | Fixes a serious bug in RemoveEqualPairs that resulted in a small number of latitude, longitude pairs being omitted from the final output of GridSphere. Big thanks to Francisco for the bug report. |
||
| 1.7.0 | n/a |
||
| 1.5.0 | Replaced tabs with spaces so that the source code displays consistently in all text editors. |
||
| 1.4.0 | Added usage example per user request. |
||
| 1.3.0 | Replaced the ElementWiseMax function with an equivalent built-in function. |
||
| 1.2.0 | Under the description, I added a link to the FindNearestNeighbors function. |
||
| 1.1.0 | Added a missing function file. |
||
| 1.0.0 |