representing peaks as lorentzian functions

Hi, I have a list of coordinates and relative intensity for each coordinate. I want to plot a spectrum from this data, when each peak is a gaussian or lorentzian function with the amplitude equal to the intensity and the center position is the coordinate. It is also important that whene the intensity is 0 there won't be any peak.
Thanks!

Antworten (1)

Image Analyst
Image Analyst am 27 Aug. 2013

0 Stimmen

Do you have a question? You didn't ask one. Do you want to ask how to plot the data? If so, use plot().

1 Kommentar

Yoel Friedman
Yoel Friedman am 27 Aug. 2013
I'm sorry, my question was how to represnt all the peaks as a gaussian/lorentian function. Thanks

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 27 Aug. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by