Gaussian Bell

Creates a 2 dimensional gaussian distribution.
3.8K Downloads
Updated 31 May 2005

No License

This is a small program that creates a normalized 2-dimensional normal distribution, also known as a gaussian bell. The user has the options to decide the center of the distribution, the standard deviation, the size of the output matrix, and the area over which to create the distribution.

I did not yet include the option to have different sigmas for the x- and y- axis, feel free to add it if you need.

There might be some bugs in the code, but for the purpose I have used it it works fine. Pls let me know if there is anything not working properly, and I'll correct it.

Cite As

Mathias Österberg (2024). Gaussian Bell (https://www.mathworks.com/matlabcentral/fileexchange/7742-gaussian-bell), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0