File Exchange

image thumbnail

Generate Spectrum

version (544 Bytes) by Carlos Baiz
Generates an experimental looking spectrum from an input containing frequency vs oscillator strength


Updated 26 Mar 2007

No License

This is a little script that adds several Gaussian or Lorentzian functions with the appropriate full width at half max and height to generate and plot a spectrum. The input is an array containing frequency vs oscillator strength, desired fwhm of the peaks and method for generating the spectrum. This is very useful to use with quantum chemistry computational programs.

Cite As

Carlos Baiz (2021). Generate Spectrum (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Carlos Baiz

Will post documentation soon.

Will B

Needs documentation.

Sunil Arya

Its good. Can someone help me to provide DFT program for quantum coputational.

Reed Farrar

Due to the lack of documentation (such as: explain input and output arguments) it would be difficult for someone to use this code and have confidence that correct results are obtained.

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!