For details watch the lecture: https://youtu.be/A6hq2Wd87kA
Sum of the Harmonic Series.
Find sum of 1+1/2+1/3+....+1/n, n is a natural number.
Example:
Enter the number of terms: 5
The sum is 2.283 >>
引用格式
Dr. Manotosh Mandal (2024). Sum of Harmonic Series of natural numbers (https://www.mathworks.com/matlabcentral/fileexchange/72542-sum-of-harmonic-series-of-natural-numbers), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Time Series 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!