This function takes a vector of standard deviations and a correlation matrix as input and computes the covariance matrix.
这个函数接受一个标准差和相关矩阵作为输入向量,计算协方差矩阵。
用法----------Usage----------
sdcor2cov(stddev, corr)
参数----------Arguments----------
参数:stddev
a vector of standard deviations.
的标准偏差值的矢量。
参数:corr
a correlation matrix.
的相关矩阵。
值----------Value----------
The function returns the covariance matrix corresponding to the input information.
该函数返回的输入信息相对应的协方差矩阵。