当前位置:网站首页>Matlab/simulink sample sharing for solving differential equations
Matlab/simulink sample sharing for solving differential equations
2022-07-27 10:19:00 【User 9925864】
The number of readers following has soared in recent days , I don't know if I read a previous article -- be based on Matlab/Simulink Of 1/4 Vehicle dynamics model , If you are concerned about dynamics 、 Vehicle related or simulink Solve related , You can leave messages in the background ,
This sharing is about a student who asked about simulink Solve differential equation problems , So I'll share it with readers through this topic Matlab/Simulink Solve differential equations
The stem of the question is shown in the figure , This topic has 2 A special place
1、 Unlike conventional differential equations , give x3 The differential equation of
2、x1+x2+x3=8 It doesn't hold at the initial value ,
hypothesis 1: that x1+x2+x3=8 It must be established at the beginning , Then there is a problem with the initial value given by the topic , That is to change it into x1=x2=0,x3=8
hypothesis 2:x1=x2=x3=0 The initial value must be true , that x1+x2+x3=8 Don't consider at the beginning
Let's follow these two assumptions to solve
First, correspondence x1 and x2 Differential solution of , First write the differential part separately , Direct differentiation yields x1 and x2
The second step , Respectively according to the x1 and x2 Solve the corresponding differential equation of 1/s The number before the module , Red framed 8 It should be changed to 10, Thanks for your help and correction
The third step , Give to separately x1 x2 and x3 Corresponding initial value
In two different assumptions
hypothesis 1 The results are as follows ,
hypothesis 2 Under the circumstances , because x3 You have to give the initial value 0, Then you need to add an additional memory modular , to x3 initial value
give the result as follows
With the increase of simulation time , There will be errors reported by the non convergent system
Therefore, combined with the simulation results , Biased towards assumptions 1 establish , There is a problem with the initial value given by the title , That is to change it into x1=x2=0,x3=8
边栏推荐
猜你喜欢

There is no CUDA option in vs2019+cuda11.1 new project

Live countdown 3 days sofachannel 29 P2P based file and image acceleration system Dragonfly

Understanding and code implementation of Se (sequence and exception) module

女粉想要找男朋友,竟是为了...

Configuration of pytorch deep learning environment based on cuda10.0

Anaconda installation (very detailed)
![Shell的正则表达式入门、常规匹配、特殊字符:^、$、.、*、字符区间(中括号):[ ]、特殊字符:\、匹配手机号](/img/31/ed0d8c1a5327059f2de7493bec1c6c.png)
Shell的正则表达式入门、常规匹配、特殊字符:^、$、.、*、字符区间(中括号):[ ]、特殊字符:\、匹配手机号

QT learning (II) -- a brief introduction to QT Creator

Visual slam lecture notes (I): Lecture 1 + Lecture 2

活体检测综述
随机推荐
Anchor free detector: centernet
Leetcode.1260. 2D grid migration____ In situ violence / dimensionality reduction + direct positioning of circular array
Is Damon partgroupdef a custom object?
Concurrent thread state transition
语音识别的一些开源项目整理
【英雄哥六月集训】第 23天: 字典树
Stylegan paper notes + modify code to try 3D point cloud generation
Leetcode.814. binary tree pruning____ DFS
Metasploit-永恒之蓝攻击
hugo学习笔记
hdu5288(OO’s Sequence)
How to create a.Net image with diagnostic tools
Pyautogui realizes automatic office -rpa small case
Huawei switch dual uplink networking smart Link Configuration Guide
matlab-绘制分叉与混沌分支图
【英雄哥六月集训】第 25天: 树状数组
FTP 服务器
QT learning (II) -- a brief introduction to QT Creator
Shell运算符、$((运算式))” 或 “$[运算式]、expr方法、条件判断、test condition、[ condition ]、两个整数之间比较、按照文件权限进行判断、按照文件类型进行判断
pytorch中对BatchNorm2d()函数的理解