Generate a circularly symmetric matrix given the radial distribution

3 visualizaciones (últimos 30 días)
Hi
Given a vector (size S) for the radial distribution, I need to generate a matrix (size 2S) with circular symmetry.
Example, [0 .5 0 1] should give a matrix with a 'light' ringwith radius 2 and 'strong' with radius 4.
I've been using 'iradon', but it seems like use a hammer when one neuron should be enough :-)
Cheers
tozé
[Information merged from duplicate question]
Hi
Interesting, but should be simple....
How can you generate a rotationally symmetric image (ie matrix) by giving the radial distribution vector?
Cheers
TZ

Respuestas (0)

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by