How to find derivative of one output signal with respect to other using simulink???

5 ビュー (過去 30 日間)
Amar
Amar 2013 年 4 月 9 日
I built up a full vehicle simulink model in which i need to find out differenciation of one output signal with respect to other output signal and value of this is again sent back as input to my model.So can any body tell me How to find derivative of one output signal with respect to other using simulink???
  4 件のコメント
Amar
Amar 2013 年 4 月 9 日
whether logic of chain rule of derivatives is really applicable in simulink....if i use dy/dx = (dy/dt)/(dx/dt) it outputs a value as NaN because at t=0 it gets the value = 0/0 how to overcome this situation.
Yao Li
Yao Li 2013 年 4 月 9 日
編集済み: Yao Li 2013 年 4 月 9 日
Many ways. triggered subsystem or if..else or any other ways to give a nonzero initial value of dx/dt or delay the calculation of dx/dt

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

回答 (2 件)

Rock
Rock 2013 年 6 月 7 日
Is any block on simulink where chain rule differentiation is applicable?

Iain
Iain 2013 年 6 月 7 日
You could just calculate (difference in signal 1 over "a timestep")/(difference in signal 2 over "the same timestep").

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by