Matlab与化工数值计算-第一讲-简介与基本数学运算.ppt
文本预览下载声明
Matlab与化工数值计算第一讲 简介与基本数学运算 隋志军 化工学院软件应用教科组 化学工程师的任务 化学工程专业数学模型类型 非线性方程(组) 化学工程常用软件 本课程的学习目的 本课程基本内容 第一讲 Matlab简介与基本数学运算 第二讲 非线性方程组求解与迭代法 第三讲 矩阵操作与线性方程组求解 第四讲 插值、拟合与数值微分、积分 第五讲 常微分方程数值解 第六讲 偏微分方程数值解 第七讲 统计初步与最优化方法 学习本课程的注意事项 Matlab简介 Matlab窗口介绍 通过Help学习Matlab 在命令窗口中键入 help,则显示以下内容: matlab\general - General purpose commands. matlab\ops - Operators and special characters. matlab\lang - Programming language constructs. matlab\elmat - Elementary matrices and matrix manipulation. matlab\elfun - Elementary math functions. matlab\specfun - Specialized math functions. matlab\matfun - Matrix functions - numerical linear algebra. matlab\datafun - Data analysis and Fourier transforms. matlab\polyfun - Interpolation and polynomials. matlab\funfun - Function functions and ODE solvers. matlab\sparfun - Sparse matrices. matlab\scribe - Annotation and Plot Editing. matlab\graph2d - Two dimensional graphs. matlab\graph3d - Three dimensional graphs. ……… help ops Operators and special characters. Arithmetic operators. plus - Plus + uplus - Unary plus + minus - Minus - uminus - Unary minus - mtimes - Matrix multiply * times - Array multiply .* mpower - Matrix power ^ power - Array power .^ mldivide - Backslash or left matrix divide \ mrdivide - Slash or right matrix divide / ldivide - Left array divide .\ rdivide - Right array divide ./ 基本算术运算符 help power .^ Array power. Z = X.^Y denotes element-by-element powers. X and Y must have the same dimensions unless one is a scalar. A scalar can operate into anything. C = POWER(A,B) is called for the syntax A .^ B when A or B is an object. Help+函数名可获得详细的函数使用方法 Matlab语言的标点 数值类型 以下表达方式均合法: 345 -99 0.01 1.3e-3 4.5e33 [1 2 3] [1;2;3] [1 2; 2 11] 3+3i
显示全部