フィルターのクリア

Can I derive a dependent variable in Matlab?

1 回表示 (過去 30 日間)
Angel Quintanilla
Angel Quintanilla 2020 年 3 月 4 日
回答済み: Koushik Vemula 2020 年 3 月 9 日
Ex.
y=x(t) so that y'=x'(t)
  1 件のコメント
Walter Roberson
Walter Roberson 2020 年 3 月 4 日
Please give more context? Your tag "system modeling" suggests that you are not talking about the Symbolic Toolbox?

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

採用された回答

Koushik Vemula
Koushik Vemula 2020 年 3 月 9 日
According to my understanding you want to create a variable ‘y’ which is dependent on variable ‘x’
You can do it using syms module.
Creating variable y dependent on t
syms y t %defining y and t as variables
y=t*t + 3 %for example
diff(y)
Here the function diff represents differentiation of the variable y.
For more understanding of the module syms refer this link: https://www.mathworks.com/help/symbolic/syms.html

その他の回答 (0 件)

カテゴリ

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