MATLAB: Plot a function (approximation of pi)

computational model, visualization, starting to build a simulation, plotting functions (plot, subplot, text, xlabel, ylabel)
12 Downloads
Updated 30 Dec 2021

View License

This code is explained in the following YouTube Video:
Video description: https://youtu.be/pvHAr57QR8w
For more of my YouTube Videos, check out my MATLAB tutorial playlist: https://youtube.com/playlist?list=PLmB_c16LoAcWz_5qK1XpBlP0DiD6cgU-r
Also subscribe to my channel (Engineering with Dr. Kelsey Joy): https://www.youtube.com/c/EngineeringwithDrKelseyJoy

Cite As

Dr. Kelsey Joy (2024). MATLAB: Plot a function (approximation of pi) (https://www.mathworks.com/matlabcentral/fileexchange/104315-matlab-plot-a-function-approximation-of-pi), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Approximation of Pi (Leibniz formula)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0