I want to know harmonic progression code

조회 수: 1 (최근 30일)
JI EUN CHOI
JI EUN CHOI 2017년 5월 27일
답변: MathReallyWorks 2017년 5월 27일
I want to know harmonic progression code. I have tried making a code, but It is failed. So, I will compare another correct code.

답변 (1개)

MathReallyWorks
MathReallyWorks 2017년 5월 27일
Hello,
If you have starting term(a) and common difference(d) then make a series till some definite number as:
a, a+d, a+2d, a+3d....
Keep then in a 1D array.
Now call each element and take inverse of that.
This will give you harmonic progression.

카테고리

Help CenterFile Exchange에서 모델링에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!