What is better for differential equations - MATLAB or Simulink?

3 ビュー (過去 30 日間)
Edward Tomanek
Edward Tomanek 2020 年 4 月 1 日
回答済み: Birdman 2020 年 4 月 1 日
Both the MATLAB environment itself, and the Simulink environment have very good ways of obtaining numerical solutions to differential equations.
What are the advantages of each and in what scenarios would you use each one?

回答 (1 件)

Birdman
Birdman 2020 年 4 月 1 日
Simulink works numerically, you can not solve differential equations symbolically in Simulink. If you want to obtain symbolic solutions, you have to use MATLAB environment. If you want to obtain numerical solutions, you can both use MATLAB and Simulink environment. My advice for you is to use Simulink for numerical solutions as well because you can put Scopes to each point of your differential equations and plot the results easily. In MATLAB, you need to know the syntax and some manipulations to do so. To sum up:
-Symbolic approach requires MATLAB environment.
-Numerical approach can be done in both, my advice is usage of Simulink for that.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by