Clear Filters
Clear Filters

How do I write this sum of series?

2 views (last 30 days)
Bleron Kroni
Bleron Kroni on 7 Apr 2020
Edited: Bleron Kroni on 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

Answers (1)

Marco Manfredi
Marco Manfredi on 7 Apr 2020
  1 Comment
Bleron Kroni
Bleron Kroni on 7 Apr 2020
Edited: Bleron Kroni on 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

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!