help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

curve fitting


From: hobbs
Subject: curve fitting
Date: Thu, 2 Nov 2006 14:23:03 +0000
User-agent: KMail/1.8.3

I am a new user of Octave so I would appreciate some help.

I have an 2D array of values and I want to compute the mean/std for each row 
as a function of column number by fitting a Gaussian distribution.

eg

0  1  3  1  0  0  0  0 
0  0  1  2  4  3  1  1
0  0  0  1  9  2  0  0
...

to give a two column array (mean std)
3     0.2
5.2  1.0
5.0  0.05
....


Is there a neat way either as a direct function call or as a script that this 
can be achieved, please? 

Tnaksh
Richard

-- 
Dr Richard Hobbs
NERC Advanced Research Fellow
Department of Earth Sciences
University of Durham
South Road
DURHAM  DH1 3LE    UK

internet-
e-mail: address@hidden
skype name: richard.hobbs

tel: +44 (0)191 334 4295
fax: +44 (0)191 334 2301


reply via email to

[Prev in Thread] Current Thread [Next in Thread]