当前位置:网站首页>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
边栏推荐
- Force deduction solution summary 1200 minimum absolute difference
- 7 pratiques devops pour améliorer la performance des applications
- 普通程序员看代码,顶级程序员看趋势
- 漫画:如何实现大整数相乘?(整合版)
- Cartoon: a bloody case caused by a math problem
- 每日一练:关于日期的一系列
- BigDecimal除法的精度问题
- 机器学习01:绪论
- Cloud security daily 220705: the red hat PHP interpreter has found a vulnerability of executing arbitrary code, which needs to be upgraded as soon as possible
- Humi analysis: the integrated application of industrial Internet identity analysis and enterprise information system
猜你喜欢

提高应用程序性能的7个DevOps实践

服务器配置 jupyter环境

Kafaka technology lesson 1

WR | Jufeng group of West Lake University revealed the impact of microplastics pollution on the flora and denitrification function of constructed wetlands

flask接口响应中的中文乱码(unicode)处理

Oracle Recovery Tools ----oracle数据库恢复利器
mysql中取出json字段的小技巧

Machine learning 02: model evaluation

Which is more cost-effective, haqu K1 or haqu H1? Who is more worth starting with?

7 pratiques devops pour améliorer la performance des applications
随机推荐
得知女儿被猥亵,35岁男子将对方打至轻伤二级,法院作出不起诉决定
漫画:如何实现大整数相乘?(上) 修订版
mongodb(快速上手)(一)
关于mysql中的json解析函数JSON_EXTRACT
In depth understanding of redis memory obsolescence strategy
Machine learning 02: model evaluation
SQL删除重复数据的实例教程
毫无章法系列
Tita performance treasure: how to prepare for the mid year examination?
This 17-year-old hacker genius cracked the first generation iPhone!
[binary tree] insufficient nodes on the root to leaf path
Ordinary programmers look at the code, and top programmers look at the trend
MySql 查询符合条件的最新数据行
哈趣K1和哈趣H1哪个性价比更高?谁更值得入手?
Disabling and enabling inspections pycharm
MySQL之知识点(七)
Compter le temps d'exécution du programme PHP et définir le temps d'exécution maximum de PHP
Read the history of it development in one breath
Vulnerability recurrence - 48. Command injection in airflow DAG (cve-2020-11978)
MYSQL group by 有哪些注意事项