Effacer les filtres
Effacer les filtres

find rank one 1xN matrix from the NxN matrix by utilizing the Gaussian randomization method

4 vues (au cours des 30 derniers jours)
I have genearted a NxN matrix (let us say 'V') as a CVX optimal solution. Idealy My solution should be A=sqrt(diag(V)), but sometime CVX result is such that one has to generate various random variable set of A utilizing matrix V, and choose the best A among the set. Now I want to generate rank one 1xN matrix from the NxN matrix by utilizing the Gaussian randomization method. Anyone, pl help

Réponses (1)

Amanjeet Pani
Amanjeet Pani le 13 Juil 2022
As i understand you don not have the idea to use the Gaussian randomization method.
Go through the mathematics (mathematical steps) of the Gaussian randomization method and try the problem omce again
x = a*(rand(N, 1));
this is the usual syntax for using the rand() in matlab

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by