1

I have a function which I like to fit it to a function of Y=a+(1-a)exp(-x/T) to get the T value for it.

I want to do these using Xmgrace but I do not know how.

Thanks for your suggestions.

Mon
  • 61
  • 1
  • 8
  • Have you looked at the 'how to ask a question' page? You should show us what you have tried, what problem you are having, etc. The link is -> https://stackoverflow.com/help/how-to-ask – Bas Jansen Sep 21 '17 at 10:27
  • I just read it Bas. Thanks for your comment. – Mon Sep 22 '17 at 16:35

1 Answers1

0

On the xmgrace window, click Data Transformations Non-linear curve fitting.

  • On formula section, type in a0+(1-a0)*exp(-x/a1)
  • You have 2 parameters, a0 and a1. On parametes section, select 2. Make an inital guess, range, tolerance and number of iterations. Normally default values would suffice for tolerance and iterations.
  • Hit Apply. Keep on hitting it untill a good fit is obtained.

Note - A good guess of initial parameters will help you get a good fit faster.

Sathyam
  • 200
  • 3
  • 15