please is there any inbuilt function for harmonic function?
显示 更早的评论
Please write a script of function for harmonic function summation of 1/n for n=1 to infinity
回答(1 个)
Rik
2022-1-25
There actually is a builtin that will give you the answer:
inf
As for implementing the function yourself, that is probably homework, so I'll leave it to you try something. Feel free to post a comment with your efforts and what questions you have.
类别
在 帮助中心 和 File Exchange 中查找有关 Language Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!