当前位置:网站首页>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
边栏推荐
- 北京内推 | 微软亚洲研究院机器学习组招聘NLP/语音合成等方向全职研究员
- Cmake tutorial step6 (add custom commands and generate files)
- stirring! 2022 open atom global open source summit registration is hot!
- BigDecimal除法的精度问题
- Database design in multi tenant mode
- 一文读懂简单查询代价估算
- 使用QT设计师界面类创建2个界面,通过按键从界面1切换到界面2
- Customize the theme of matrix (I) night mode
- Read the history of it development in one breath
- 漏洞复现----48、Airflow dag中的命令注入(CVE-2020-11978)
猜你喜欢

To solve the problem of "double click PDF file, pop up", please install Evernote program

Check the WiFi password connected to your computer

Oracle recovery tools -- Oracle database recovery tool

解决“双击pdf文件,弹出”请安装evernote程序

mongodb(快速上手)(一)
Database design in multi tenant mode

統計php程序運行時間及設置PHP最長運行時間

leetcode每日一题:字符串中的第一个唯一字符

Machine learning 01: Introduction

Vulnerability recurrence - 48. Command injection in airflow DAG (cve-2020-11978)
随机推荐
Cartoon: a bloody case caused by a math problem
ICML 2022 | Meta提出魯棒的多目標貝葉斯優化方法,有效應對輸入噪聲
2022年信息系统管理工程师考试大纲
Is it safe for China Galaxy Securities to open an account? How long can I buy stocks after opening an account
力扣解法汇总729-我的日程安排表 I
CVPR 2022最佳学生论文:单张图像估计物体在3D空间中的位姿估计
Ant financial's sudden wealth has not yet begun, but the myth of zoom continues!
Beijing internal promotion | the machine learning group of Microsoft Research Asia recruits full-time researchers in nlp/ speech synthesis and other directions
北京内推 | 微软亚洲研究院机器学习组招聘NLP/语音合成等方向全职研究员
SQL Server(2)
力扣解法汇总1200-最小绝对差
Server configuration jupyter environment
Use of ThinkPHP template
统计php程序运行时间及设置PHP最长运行时间
漏洞复现----48、Airflow dag中的命令注入(CVE-2020-11978)
十个顶级自动化和编排工具
Which is more cost-effective, haqu K1 or haqu H1? Who is more worth starting with?
Ordinary programmers look at the code, and top programmers look at the trend
Disabling and enabling inspections pycharm
华为云云原生容器综合竞争力,中国第一!