mySphere(N)
Input: the target number of points or nodes on the surface of a unit sphere (N).
Output: position column vectors X, Y, and Z of length equal to or close to N.
Points are distributed by choosing circles of constant latitudes separated by d_theta, and on these circles placing points separated by d_phi, such that d_theta ~ d_phi. The area per point (d_theta)*(d_phi) therefore remains constant across the sphere surface.
Zitieren als
Brian Z Bentz (2024). mySphere(N) (https://www.mathworks.com/matlabcentral/fileexchange/57877-mysphere-n), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | 6/20/2016: added an example script to plot the unit sphere and demonstrate scaling the radius and displacement. |