How to create a symmetric 2D distribution from a novel distribution

この 質問 は Sebastian Daneli さんによってフラグが設定されました
  • Sebastian Daneli さんによって 2024 年 10 月 11 日 に MATLAB Answers では不適切 としてフラグが設定されました。

    None is answering my question, so I used Gemini instead.

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
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
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 件のコメント

John D'Errico
John D'Errico 2024 年 10 月 9 日
I'm wondering if MAYBE the question is to take the 1-d profile, and rotating it around the vertical axis, turn it into a 2-d point spread function. But I have no idea where "uniformity" comes into the question.
Sebastian Daneli
Sebastian Daneli 2024 年 10 月 10 日
編集済み: Sebastian Daneli 2024 年 10 月 10 日
@John D'Errico, yes, that's what I meant. Symmetry is what I was thinking about, not uniformity.
Torsten
Torsten 2024 年 10 月 10 日
Should your data be the y-values of a probability density function ? If yes: what are the corresponding x-values ?

サインインしてコメントする。

質問済み:

2024 年 10 月 9 日

コメント済み:

2024 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by