I want to be able to generate a covariance matrix of dimensions $D$ x $D$, such that certain specified cells of this matrix contain a fixed predetermined values (at least approximately).
For e.g. For matrix, $S$ = $$ \begin{matrix} a_{11} & a_{12} & \ldots & a_{1D}\\ a_{21} & a_{22} & \ldots & a_{2D}\\ \vdots & \vdots & \ddots & \vdots\\ a_{D1} & a_{D2} &\ldots & a_{DD} \end{matrix} $$
I want to make sure that certain $a_{i,j}$ 's have a predetermined value.
(If I were generating a covariance matrix without this constraint, I would just use a Wishart Random Generator. In Matlab, it would be something like -
W = wishrnd([1 0.5; 0.5 3],30)/30
)
One way I can think of this problem is that different cells of the covariance matrix have different degrees of freedom. So that the cells with fixed values can be assumed to have infinite degrees of freedom and the rest as some finite number.