How to generate the circularly symmetric Gaussian with matlab?

10 views (last 30 days)
How to generate the circularly symmetric Gaussian with matlab? I need a random unitary matrix and I want to svd the circularly symmetric Gaussian then get the unitary matrix. is that possible? and how to generate the circularly symmetric Gaussian??? Thank you~~

Accepted Answer

bym
bym on 20 Sep 2011
if you have the Image Processing Toolbox you can use
h = fspecial('gaussian',10,4) %adjust parameters to suit
  2 Comments
steven
steven on 21 Sep 2011
Thank u! When I use your suggestion and get a 4 by 4 matrix and then apply the svd, the 'unitary' become more 'unitary'! Actually, i tried
a=fspecial('gaussian',4,4)
b=fspecial('gaussian',4,4)
c=a+1i*b
[s v d]=svd(c)
Then I check the d by using
d*(conj(d'))
The result should be identity, but it is not so perfect~
So,
1, Is there any parameter I can change about the 'Gaussian', such as zero mean?
2, Can you give me some suggestion on Gaussian complex random unitary matrix?
Thank u so much~and thanks for your answer.
bym
bym on 22 Sep 2011
I am afraid I'm probably not the best person to address your additional questions. Perhaps increasing the size of your matrix would help. Good luck...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!