representing peaks as lorentzian functions

2 views (last 30 days)
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!

Answers (1)

Image Analyst
Image Analyst on 27 Aug 2013
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 Comment
Yoel Friedman
Yoel Friedman on 27 Aug 2013
I'm sorry, my question was how to represnt all the peaks as a gaussian/lorentian function. Thanks

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!