How can ı solve this difference equation ?

17 ビュー (過去 30 日間)
FURKAN
FURKAN 2023 年 3 月 13 日
コメント済み: FURKAN 2023 年 3 月 13 日
Consider the difference equation:
x(k + 2) - 1.3679x(k + 1) + 0.3679x(k) = 0.3679u(k + 1) + 0.2642u(k) where x(k) = 0 for k ≤0. The input u(k) is given by
u(k) = 0, k<0
u(0) = 1.5820
u(1) = -0.5820
u(k) = 0, k = 2,3,4,...
Determine the output x(k). Solve this problem both analytically and computationally with MATLAB

採用された回答

Torsten
Torsten 2023 年 3 月 13 日
編集済み: Torsten 2023 年 3 月 13 日
um2 = 0;
um1 = 0;
u0 = 1.5820;
u1 = -0.5820;
u2 = 0;
xm2 = 0;
xm1 = 0;
x0 = 1.3679*xm1 - 0.3679*xm2 + 0.3679*um1 + 0.2642*um2
x0 = 0
x1 = 1.3679*x0 - 0.3679*xm1 + 0.3679*u0 + 0.2642*um1
x1 = 0.5820
x2 = 1.3679*x1 - 0.3679*x0 + 0.3679*u1 + 0.2642*u0
x2 = 1.0000
x3 = 1.3679*x2 - 0.3679*x1 + 0.3679*u2 + 0.2642*u1
x3 = 1.0000
So you have x2 and x3 and the formula for xk (k>=2) reads
x(k+2) - 1.3679*x(k+1) + 0.3679*x(k) = 0
Can you take it from here ?
  1 件のコメント
FURKAN
FURKAN 2023 年 3 月 13 日
Yes thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by