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
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에 대해 자세히 알아보기

질문:

2022년 1월 25일

답변:

Rik
2022년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by