How do I write this sum of series?

1 Ansicht (letzte 30 Tage)
Bleron Kroni
Bleron Kroni am 7 Apr. 2020
Bearbeitet: Bleron Kroni am 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

Antworten (1)

Marco Manfredi
Marco Manfredi am 7 Apr. 2020
  1 Kommentar
Bleron Kroni
Bleron Kroni am 7 Apr. 2020
Bearbeitet: Bleron Kroni am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by