creating a frame(image), randn

Hi
Does
a = sqrt(3)*randn(20,20)
imshow(a,([ ]))
create a frame(image), with 20x02 pixels, size of each pixel being 1x1, and the values of the pixels representing a Gaussian with covariance '3', and the intensity of each pixel to be gray linear scale.
Thanks
P

 采纳的回答

Image Analyst
Image Analyst 2011-10-13

0 个投票

No. Try again. By the way, what do you mean by covariance? Do you mean variance or standard deviation instead?

3 个评论

Its standard deviation,
so would that be
a = 3*randn(20,20)
imshow(a, [ ])
Can you give me a hint on the above specifications i had mentioned?
Like I said in your duplicate post, perhaps the Example in the help will be a sifficient hint:
Example 1
Generate values from a normal distribution with mean 1 and standard deviation 2:
r = 1 + 2.*randn(100,1);
Right, thanks!

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by