Advertisement
luizaspan

[PROVA FSC_COMP] GNUPlot Fitting

Nov 4th, 2015
2,562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. f1(x) = a1*tanh(x/b1)            # defina a função pra ajustar
  2. a1 = 300; b1 = 0.005;            # chute inicial para a1 e b1
  3. fit f1(x) 'force.dat' using 1:2 via a1, b1 # ajusta a função f1(x) usando variáveis a1 e b1 ao arquivos de dados 'force.dat' usando a primeria e esegunda coluna
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement