How to create a symmetric 2D distribution from a novel distribution
10 次查看(过去 30 天)
显示 更早的评论
此 个问题 已被 Sebastian Daneli
标记
Hi
I have a distribution, lets call it f, represented as a vector. Essentially I would like to turn this into a point spread function to deconvolute some images. For this i need a symmetric 2D distribution of this distribution from above. How do I effectively accomplish this? I share my function bellow, it that is of any help.
Thanks in advance
load('f.mat');
figure()
plot(f)
1 个评论
John D'Errico
2024-10-9
编辑:John D'Errico
2024-10-9
What does it mean (in terms of mathematics) to get a uniform 2-d distribution, from something that is distinctly not uniform? I'm sorry, but you are asking to do something that makes no mathematical sense. It might be a question of knowing the right language, whatever. But it means you need to explain far more clearly what you want to do.
回答(1 个)
the cyclist
2024-10-9
编辑:the cyclist
2024-10-9
I agree with @John D'Errico that we need more description. Do you just mean that you want to replicate f across another dimension? Like this?
load('f.mat','f')
f2 = repmat(f,1,10);
surf(f2)
3 个评论
Torsten
2024-10-10
Should your data be the y-values of a probability density function ? If yes: what are the corresponding x-values ?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!