How do I write this sum of series?

1 visualizzazione (ultimi 30 giorni)
Bleron Kroni
Bleron Kroni il 7 Apr 2020
Modificato: Bleron Kroni il 8 Apr 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

Risposte (1)

Marco Manfredi
Marco Manfredi il 7 Apr 2020
  1 Commento
Bleron Kroni
Bleron Kroni il 7 Apr 2020
Modificato: Bleron Kroni il 8 Apr 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

Accedi per commentare.

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by