필터 지우기
필터 지우기

How do I write this sum of series?

조회 수: 2 (최근 30일)
Bleron Kroni
Bleron Kroni 2020년 4월 7일
편집: Bleron Kroni 2020년 4월 8일
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

답변 (1개)

Marco Manfredi
Marco Manfredi 2020년 4월 7일
  댓글 수: 1
Bleron Kroni
Bleron Kroni 2020년 4월 7일
편집: Bleron Kroni 2020년 4월 8일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by