文档详情

matlab - 记录(Matlab - record).doc

发布:2017-07-22约1.09万字共18页下载文档
文本预览下载声明
matlab - 记录(Matlab - record) Stationarity: dfTSTest Var function -- sample variance Ceil is taking the integral from infinity to infinity Continue to use the above data, the maximum value of each column. Mx = Max (count) Mu = mean (count) Sigma = STD (count) = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = You can also locate the maximum [mx, indx] = min (count) Mx = 7 September 7 Indx = 2 23 and 24 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = The following command finds the minimum value of the entire matrix: Min (count (:)) Ans = 7 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Now, lets look at the variance of the first column. Cov (count (:, 1)) Ans = 643.6522 The covariance matrix is calculated by the cov () function on the matrix. Corrcoef () is used to calculate correlation coefficients, such as: Corrcoef (count) Ans = 1.0000 0.9331 0.9599 0.9331 1.0000 0.9553 0.9599 0.9553 1.0000 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Input function The call format is: A = input (hint information, options); The message is a string that prompts the user for what kind of data to enter. A = A = input ( ) If the s option is used when the input function is invoked, the user is allowed to enter a string. For example, if you want to enter a persons name, you can use the command: Xm = input ( Whats your name? , s) = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = The call format is: Disp (output item) The output item can be either a string or a matrix. Note: the name of the matrix will not be displayed when the matrix is displayed with the disp function, and the format is more compact, leaving no empty rows with no meaning. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Its call format is: Pause (delay seconds) If you omit the delay tim
显示全部
相似文档