mypiplottergregory.m
Version 1.0.0.0 (1.02 KB) by
Bud Kelly
Plots the value of pi for any n terms of the classic Gregory-Leibnitz series for pi.
This plot shows the way that the classic Gregory-Leibnitz method of calculating pi converges on the true value as you increase the number of terms. You can replace the code with any other method of calculating pi and compare the convergence by comparing the figures.
Cite As
Bud Kelly (2024). mypiplottergregory.m (https://www.mathworks.com/matlabcentral/fileexchange/67002-mypiplottergregory-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Polar Plots >
Find more on Polar Plots in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |