Transfer functions in Matlab

6 ビュー (過去 30 日間)
Aleem Andrew
Aleem Andrew 2021 年 1 月 23 日
回答済み: Shubham Khatri 2021 年 2 月 2 日
Given the differential equation diff(c,t,1) + 2*c(t) = r(t) I want to isolate r(t)/c(t) assuming the initial conditions are 0. Can someone please explain how to do this?
syms c(t) r(t)
dc = diff(c,t,1);
laplace(dc + 2*c == r)

回答 (1 件)

Shubham Khatri
Shubham Khatri 2021 年 2 月 2 日
Hello,
As per my understanding of the problem I have attached a code. I have assumed a c(t).
syms c(t) r(t)
c(t)=t.^2+2.*t
dc= diff(c,t,1)
r(t)=dc+2*c
laplace(r/c)
Please refer to the this MATLAB Answer for some help. Also, please click on the documentation link for syms , laplace and diff for more information on these functions.

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by