The following Matlab project contains the source code and Matlab examples used for integer order 1d gaussian function.
Computes the Gaussian function in 1D:
exp(-log(2)*(2*(x-x0)./FWHM).^(2*floor(abs(order))));
Where:
x = Co-ordinate
x0 = Centre of function
FWHM = Full Width Half Max of the function
order = Gaussian order
Normal Gaussian is of order 1.
Note that FWHM = (1/e Half Width)/sqrt(2*log(2))
log is the natural log.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

gauss1D.m | 333 |

license.txt | 1520 |