由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - a question about random number generator
相关主题
有这样的random number generator吗 ?How to generate the conditional random variable from the
matlab如何生成一个特殊的随机矩阵Random number generation in FORTRAN
any good random number generator in c++求教:simulation of a complex distribution
c++ random number generator请教关于random number generator
[转载] Help on generating Random number from joint PDF有啥好的normal distribution random variable的C代码?
fortran的random number 相关的函数lib是啥?scan 3D surface and generate mesh in FEM
急问:random number 问题How to compile F77 file with C ?
how to prove this problem ? (转载)random number generator in Fortran
相关话题的讨论汇总
话题: random话题: covariance话题: number话题: generator话题: question
进入Computation版参与讨论
1 (共1页)
r****y
发帖数: 1437
1
【 以下文字转载自 Mathematics 讨论区 】
发信人: rossby (五十岚已夜), 信区: Mathematics
标 题: a question about random number generator
发信站: BBS 未名空间站 (Thu Feb 7 11:28:25 2008), 转信
e.g., given a covariance matrix
cov = [ 1 0.02
0.02 1]
how to generate two random number series that have such covariance?
let's make it more specific, two random numbers both follow normal
distribution.
I guess there must be an algorithm invented already by someone for
such thing.
s**b
发帖数: 169
2
not my major, just curious,
covariance only can determine PDF?

【在 r****y 的大作中提到】
: 【 以下文字转载自 Mathematics 讨论区 】
: 发信人: rossby (五十岚已夜), 信区: Mathematics
: 标 题: a question about random number generator
: 发信站: BBS 未名空间站 (Thu Feb 7 11:28:25 2008), 转信
: e.g., given a covariance matrix
: cov = [ 1 0.02
: 0.02 1]
: how to generate two random number series that have such covariance?
: let's make it more specific, two random numbers both follow normal
: distribution.

l***n
发帖数: 812
3
在Matlab里直接使用就好了
mvnrnd(MU,SIGMA,N)
如果你想看它的程序怎么遍的,可以去查看它的源程序

【在 r****y 的大作中提到】
: 【 以下文字转载自 Mathematics 讨论区 】
: 发信人: rossby (五十岚已夜), 信区: Mathematics
: 标 题: a question about random number generator
: 发信站: BBS 未名空间站 (Thu Feb 7 11:28:25 2008), 转信
: e.g., given a covariance matrix
: cov = [ 1 0.02
: 0.02 1]
: how to generate two random number series that have such covariance?
: let's make it more specific, two random numbers both follow normal
: distribution.

1 (共1页)
进入Computation版参与讨论
相关主题
random number generator in Fortran[转载] Help on generating Random number from joint PDF
About MARCfortran的random number 相关的函数lib是啥?
[转载] 大家用C++做数值计算都用哪些library?急问:random number 问题
simulation of a set of stochastic ODEhow to prove this problem ? (转载)
有这样的random number generator吗 ?How to generate the conditional random variable from the
matlab如何生成一个特殊的随机矩阵Random number generation in FORTRAN
any good random number generator in c++求教:simulation of a complex distribution
c++ random number generator请教关于random number generator
相关话题的讨论汇总
话题: random话题: covariance话题: number话题: generator话题: question