AnswerBun.com

Change the equation of the Gauss bell

TeX - LaTeX Asked by user3204810 on September 18, 2020

My goal is to draw the absorption peaks of Lambert-Beer-Bouguer graph which, ideally, have the shape of a Gaussian. I would like to make sure that these peaks all have the same width, which in Gauss’s equation depends on sigma, and I could change its height.
Something like

gauss{9}{1}

Where 9 is the symmetry axis (mu) and 1 is the height of the peak.
How can I modify the equation to achieve this?

newcommandgauss[2]{1/(sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))} % Gauss function, parameters mu and sigma

One Answer

enter image description here

enter image description here

My take -- X can be varied as per choice and will give a corresponding y value

mu gives the mean and sigma the spread

for mu=9 and sigma square=1 --now y(height) can be varied by pushing in various values of x

Answered by js bibra on September 18, 2020

Add your own answers!

Related Questions

Nomenclature per chapter

1  Asked on August 15, 2020 by user56855

     

Multiple bugs when trying to display angle

1  Asked on August 15, 2020 by melvin

 

PGFplots – `addplot` and `foreach` won’t compile

1  Asked on August 14, 2020 by jordan-mitchell-barrett

     

environment to balance a table in a multicol

1  Asked on August 14, 2020 by michael-teresi

     

Spacing issues with align, aligned and intertext

1  Asked on August 13, 2020 by herpderpington

     

Tikz picture position

3  Asked on August 13, 2020 by mathali

 

Text indent from the header

0  Asked on August 12, 2020 by kaisar

 

Problem with unzipping arxiv source file

1  Asked on August 12, 2020 by pink-panther

 

Draw a thermodynamic cycle with Tikz

1  Asked on August 12, 2020 by user790082

 

Compile your Overleaf project OFFLINE

1  Asked on August 12, 2020 by aurea-1994

   

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP