How do i find a difference equation?

13 ビュー (過去 30 日間)
LeBron
LeBron 2013 年 1 月 24 日
I have this first order differential equation given:
i need to find a difference equation using MATLAB. I would appreciate if someone could help me with that. Thanks
  2 件のコメント
Wayne King
Wayne King 2013 年 1 月 24 日
what is u(t) here? is that the step function?
LeBron
LeBron 2013 年 1 月 24 日
its the input

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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 1 月 24 日
Choose your sample time Te
Te=0.1 % Your sample time
N=1.5
D=[1 -0.5]
Modelc=tf(N,D) % Your continue transfer function
Modeld=c2d(Modelc,Te) % Your discrete transfer function
[Nd,Dd]=tfdata(Modeld,'v');
% From Y(z)/U(z)=Nd(z)/Dd(z) you can find the relation between y{n] and u[n]
  10 件のコメント
Roger Stafford
Roger Stafford 2013 年 1 月 25 日
Azzi, the Runga-Kutta method does give a set of difference equations, in fact a very respectable set indeed.
LeBron
LeBron 2013 年 1 月 25 日
編集済み: LeBron 2013 年 1 月 25 日
Hey Azzi thank you so much for all your help. I really appreciate it. People like you make this forum a great place.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by