You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
MACHIN(M) gives a string with pi truncated to M decimals
using Machin's formula: pi = 16*acot(5) - 4*acot(239)
Cite As
Jonas Lundgren (2026). Calculate pi (https://www.mathworks.com/matlabcentral/fileexchange/71224-calculate-pi), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.51 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
