I want to know harmonic progression code
Afficher commentaires plus anciens
I want to know harmonic progression code. I have tried making a code, but It is failed. So, I will compare another correct code.
Réponses (1)
MathReallyWorks
le 27 Mai 2017
1 vote
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.
Catégories
En savoir plus sur 연산자와 기초 연산 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!