Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I make a gaussian function in matlab?

Status
Not open for further replies.

pig5076

Electrical
Joined
Oct 11, 2012
Messages
2
Location
TW
Divide each input image into nr × nc blocks;
for (r = 1; r ≤ nr; r++)
for (c = 1; c ≤ nc; c++)

and this(See the attachment):
Thank you everyone please!!
 
Sorry the image was error
Like this:
Grc(x, y) = exp{−[(x − xrc)^2+ (y − yrc)^2]/2σ^2}
 
Is there a question here?

TTFN
faq731-376
7ofakss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top