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

Align equation in algorithm

0  Asked on September 10, 2020

 

pgfplots: Two half-planes (Gödel logic graph)

1  Asked on September 10, 2020

   

Track changes option

1  Asked on September 10, 2020 by foc

 

Overfull hbox too wide

0  Asked on September 10, 2020 by mona-jalal

       

Path to index-processor with imakeidx

0  Asked on September 10, 2020 by florian

     

chapterbib fails with subdirectories and latexmk

1  Asked on September 9, 2020 by samuel-marks

         

Can’t use a macro inside bracket or for trimming

1  Asked on September 9, 2020 by ernesto-iglesias

     

Appendix header on top of a table and numbering

1  Asked on September 9, 2020 by etoals

   

Identifying fault in multiple reference command

0  Asked on September 8, 2020 by aashay-sathe

   

Customize endnotes

1  Asked on September 8, 2020 by sverre

   

About ZzTeX download

2  Asked on September 7, 2020 by madyyuvi

 

Use Abbrivation when citing with Biblatex

0  Asked on September 7, 2020 by vipmagnifique

 

how do I write this in XeTeX?

1  Asked on September 7, 2020

 

Itemize inside Textblock inside Column

1  Asked on September 7, 2020

     

can’t find the error

1  Asked on September 6, 2020 by chamanga

 

Booktabs and row color

2  Asked on September 6, 2020 by hindi

 

Ask a Question

Get help from others!

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