Info (by Pere)

domingo, 4 de junio de 2017

Octave: Fit Gaussian to data



% Adjust a gaussian
% Define the gaussian function
gausFun = @(hms,x) hms(1) .* exp (-(x-hms(2)).^2 ./ (2*hms(3)^2)) ;
init=[100;0;20]; % Hmax, mean, sigma
[P, FY, CVG, OUTP] = nonlin_curvefit (gausFun , init', XX, NN);
%Print estimated sigma
sigma_est=P(3)
No hay comentarios:
Enviar por correo electrónicoEscribe un blogCompartir en XCompartir con FacebookCompartir en Pinterest
Etiquetas: Gaussian, Octave
Entradas más recientes Entradas antiguas Inicio
Suscribirse a: Comentarios (Atom)

Archivo del blog

  • ►  2020 (1)
    • ►  abril (1)
  • ►  2019 (1)
    • ►  abril (1)
  • ►  2018 (1)
    • ►  febrero (1)
  • ▼  2017 (9)
    • ►  septiembre (1)
    • ▼  junio (1)
      • Octave: Fit Gaussian to data
    • ►  abril (1)
    • ►  marzo (1)
    • ►  febrero (3)
    • ►  enero (2)
  • ►  2016 (19)
    • ►  diciembre (2)
    • ►  noviembre (2)
    • ►  octubre (1)
    • ►  agosto (2)
    • ►  junio (1)
    • ►  mayo (2)
    • ►  abril (9)
  • ►  2013 (5)
    • ►  septiembre (1)
    • ►  julio (1)
    • ►  junio (1)
    • ►  abril (2)

Etiquetas

3D Arduino AVR Bash debugging ESC Galaxy Gaussian GoPro Gràfics guifi Linux mikrotik Monitor Networking Octave odt openscad pdf photography png python Quadcopter Raspberry PI Recover Salut Samsung scanning Script Sensors svg tiff Truecrypt Ubuntu Undelete Utils VPN WiFi
Tema Sencillo. Con la tecnología de Blogger.