Polytrop

Calculates the polytrope aproximation for the internal structure of a star of mass M and radius R.

You are now following this Submission

polytop.m
Calculates the polytrope aproximation for the internal structure of a star of mass M and radius R.

rotinaFinal.m
Calculates the polytropic index that best aproximates a given star luminosity.

Cite As

João Faria (2026). Polytrop (https://www.mathworks.com/matlabcentral/fileexchange/33396-polytrop), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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