matlab的使用方法,matlab 入门教程

首页 > 健康 > 作者:YD1662022-11-29 23:52:21

二、在命令行窗口内,我们可以进行简单的数学运算,如四则运算、次方运算等,还可以定义矩阵;(定义矩阵时,格式为:x=[ ],同一行的元素之间用空格隔开,换行用分号“;”)

2. In the command line window, we can perform simple mathematical operations, such as four arithmetic operations, power operations, etc., and also define a matrix; (when defining a matrix, the format is: x=[ ], use between elements in the same row Separate by spaces, use semicolon ";" for line breaks)

matlab的使用方法,matlab 入门教程(5)

matlab的使用方法,matlab 入门教程(6)

三、在对矩阵进行计算时,需要用到“.*”以及“./”等,如A和B都是三阶方阵,“.*”代表把A和B两个矩阵对应位置元素相乘在分别放入该位置生成一个新的矩阵;(“.*”和“./”类似)

3. When calculating the matrix, you need to use ".*" and "./", etc., for example, A and B are both third-order square matrices, and ".*" represents the corresponding position elements of the two matrices A and B. Multiply and put them into the position to generate a new matrix; (".*" and "./" are similar)

matlab的使用方法,matlab 入门教程(7)

matlab的使用方法,matlab 入门教程(8)

上一页1234下一页

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.