Azzera filtri
Azzera filtri

I want to know harmonic progression code

2 visualizzazioni (ultimi 30 giorni)
JI EUN CHOI
JI EUN CHOI il 27 Mag 2017
Risposto: MathReallyWorks il 27 Mag 2017
I want to know harmonic progression code. I have tried making a code, but It is failed. So, I will compare another correct code.

Risposte (1)

MathReallyWorks
MathReallyWorks il 27 Mag 2017
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.

Categorie

Scopri di più su 모델링 in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!