当前位置:网站首页>Matlab reference
Matlab reference
2022-07-05 17:42:00 【Selvaggia】
Here's the catalog title
dslove,solve,ode45,simplify,
syms,inline
eval( Used to cycle )
eval Function can also evaluate the value of a symbolic expression . Don't define f(x)
Direct definition f,x=2, eval(f) You can figure it out f(2) Value
rref: Reduce the matrix to Row trapezoidal matrix , By the way, linear equations can be solved
rref It can also simplify at the same time , By the way, we get the maximal unrelated group
rref Find the maximum independent group and pass for Loop printing
expand、factor( polynomial )
vpa
MATLAB Knowledge system
Knowledge system of linear algebra
Symbolic function
syms f(x) —— Define two symbolic variables ,f and x, And there is a functional relationship between the two
When declaring symbolic functions , You can also use inline function :
f = inline(“x ^ 3+5x”) perhaps ff = inline(’-xsin(x^2-x-1)’, ‘x’) If not quoted , Then its internal variables should be known .
Matrix operations
Matrix operations
1、 Some special matrices ,
ones(m,n)
zeros(M, N)
2、 Addition and subtraction of matrix
3、 Dot product of matrix 、 Point division
Matrix Point multiplication , Multiply the corresponding elements , You can also multiply each element of the matrix by a constant
4、 Left division of matrix \ Divide with right /
Simple memory Matlab Left division in () And right division (/)
be demoted : C = B\A That is to say BC =A
Divide right : C = B/A That is to say CA = B
AX=b, solve X matrix ,X = A\b
5、 The power of a matrix X^y
Solving differential equations
dsolve、ode A series of functions
D: Differential symbols ;D2 Second order differential ,D3 Represents a third-order differential , And so on .
Y = dsolve(‘eq1,eq2,…’ , ’cond1,cond2,…’ , ’Name’)
among ,‘eq1,eq2,…’: Represents a differential equation or system of differential equations ;
’cond1,cond2,…’: Indicates initial or boundary conditions ;
‘Name’: Said variable . When no variable is specified ,matlab The default variable is t;
About ode45 Use
Let's do another example
ode45 Numerical solutions for solving differential equations
matlab in desolve、solve The application of function
Second order differential equations , Turn up a few books
solve Detailed explanation :1) equation : single / Multivariable + linear / nonlinear ;2) inequality
Matlab in diff Use of functions
边栏推荐
- Independent development is a way out for programmers
- To solve the problem of "double click PDF file, pop up", please install Evernote program
- flask接口响应中的中文乱码(unicode)处理
- Cartoon: looking for the best time to buy and sell stocks
- 如何保存训练好的神经网络模型(pytorch版本)
- 排错-关于clion not found visual studio 的问题
- 忽米沄析:工业互联网标识解析与企业信息系统的融合应用
- 为什么阳历中平年二月是28天
- Read the history of it development in one breath
- Cartoon: interesting pirate problem (full version)
猜你喜欢
MySql 查询符合条件的最新数据行
基于Redis实现延时队列的优化方案小结
MATLAB查阅
To solve the problem of "double click PDF file, pop up", please install Evernote program
33:第三章:开发通行证服务:16:使用Redis缓存用户信息;(以减轻数据库的压力)
ICML 2022 | Meta propose une méthode robuste d'optimisation bayésienne Multi - objectifs pour faire face efficacement au bruit d'entrée
33: Chapter 3: develop pass service: 16: use redis to cache user information; (to reduce the pressure on the database)
Kafaka technology lesson 1
基于51单片机的电子时钟设计
Winedt common shortcut key modify shortcut key latex compile button
随机推荐
毫无章法系列
Ant financial's sudden wealth has not yet begun, but the myth of zoom continues!
Q2 encryption market investment and financing report in 2022: gamefi becomes an investment keyword
Example tutorial of SQL deduplication
Oracle缩表空间的完整解决实例
Disabling and enabling inspections pycharm
Webapp development - Google official tutorial
Which is more cost-effective, haqu K1 or haqu H1? Who is more worth starting with?
解决“双击pdf文件,弹出”请安装evernote程序
Read the history of it development in one breath
【二叉树】根到叶路径上的不足节点
33:第三章:开发通行证服务:16:使用Redis缓存用户信息;(以减轻数据库的压力)
mysql中取出json字段的小技巧
网络威胁分析师应该具备的十种能力
十个顶级自动化和编排工具
ICML 2022 | Meta提出魯棒的多目標貝葉斯優化方法,有效應對輸入噪聲
Knowing that his daughter was molested, the 35 year old man beat the other party to minor injury level 2, and the court decided not to sue
Accuracy of BigDecimal Division
Customize the theme of matrix (I) night mode
Independent development is a way out for programmers