No BSD License  

Highlights from
Custom 2D Gauss

3.57143

3.6 | 7 ratings Rate this file 70 Downloads (last 30 days) File Size: 1.26 KB File ID: #9556
image thumbnail

Custom 2D Gauss

by Thomas Dideriksen

 

09 Jan 2006 (Updated 09 Jan 2006)

Generates a customized 2D gauss

| Watch this File

File Information
Description

Create a custom 2D gauss, which can be used for filtering, weighting, etc. All parameters are customizable, including standard deviations (sigmaX, sigmaY), rotation (theta), result size, center, etc.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
09 Jan 2006 Duane Hanselman

Might be worthwhile, but help text is not helpful. No error checking is done. Are nested For loops required?

22 Jun 2006 Yi fan

good!

30 Oct 2006 Rene Michels

No big deal, Just works!
THX a lot for sharing!

01 Aug 2008 benedicte dupuis  
27 Nov 2008 Andreas Sprenger

Great, very flexible, just what we want to have. THX

12 Jul 2010 Morten

Nice job Thomas, though it seems like you've switched sigmax and sigmay - comments?

Duane Hanselman: The nested loops are not necessary - use [rows,cols] = meshgrid(1:gsize(1),1:gsize(2)); and modify the remaining code to avoid them...

14 Feb 2011 Mirko  
Please login to add a comment or rating.

Contact us at files@mathworks.com