Effacer les filtres
Effacer les filtres

How do I write this sum of series?

2 vues (au cours des 30 derniers jours)
Bleron Kroni
Bleron Kroni le 7 Avr 2020
I want to write this sum of series
So i give h as a imput and the first value x(1)
Can anyone help please

Réponses (1)

Marco Manfredi
Marco Manfredi le 7 Avr 2020
  1 commentaire
Bleron Kroni
Bleron Kroni le 7 Avr 2020
Modifié(e) : Bleron Kroni le 8 Avr 2020
Thank you for the answer.
I'm trying to write something like this
where X(1) ist the input so i want to strat from k=2
so X(2) = (X(1)*H(2))/H(1)
and x(3) = (X(1)*H(3)-X(2)*H(2))/H(1)
for k = 2:n
X(k) =sum([X(1:k-1)]*[H(k:-1:2)].') /H(1);
end

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by