From farhi at ill.eu Tue Apr 2 16:29:14 2013 From: farhi at ill.eu (Emmanuel FARHI) Date: Tue, 02 Apr 2013 16:29:14 +0200 Subject: [Ifit-users] iFit-1.3.1: patch for Matlab >= R2012a Message-ID: <515AEB3A.8020600@ill.eu> An HTML attachment was scrubbed... URL: From morten.sales at helmholtz-berlin.de Fri Jun 28 11:35:14 2013 From: morten.sales at helmholtz-berlin.de (Sales, Morten) Date: Fri, 28 Jun 2013 09:35:14 +0000 Subject: [Ifit-users] Fitting a piecewise function Message-ID: <42D5CA35-3DE0-44C2-B44B-3CDBF306948B@helmholtz-berlin.de> Dear iFit users I have a dataset that I would like to fit, and I was hoping that I might be able to get help from this mailing list. I would like to fit a piecewise function, so for one x-range, the data should be fitted by function 1, for the the next x-range it should be function 2, etc. The functions are 'knotted' together so that the end point of one function corresponds to the start point of the next. Among the fitted parameters I would also like to have the length of an x-range where the function is constant. Is this something I can do with iFit? (I run iFit-1.3.1a in MatLab R2012a in Mac OS X 10.7.5) Best Regards, Morten Sales ________________________________ Helmholtz-Zentrum Berlin f?r Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph Gesch?ftsf?hrung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 D-14109 Berlin http://www.helmholtz-berlin.de From farhi at ill.eu Fri Jun 28 11:48:18 2013 From: farhi at ill.eu (Emmanuel FARHI) Date: Fri, 28 Jun 2013 11:48:18 +0200 Subject: [Ifit-users] iFit 1.4: new version available Message-ID: <51CD5BE2.5080409@ill.eu> An HTML attachment was scrubbed... URL: From farhi at ill.fr Sat Jun 29 09:43:11 2013 From: farhi at ill.fr (farhi) Date: Sat, 29 Jun 2013 09:43:11 +0200 Subject: [Ifit-users] Fitting a piecewise function In-Reply-To: <42D5CA35-3DE0-44C2-B44B-3CDBF306948B@helmholtz-berlin.de> References: <42D5CA35-3DE0-44C2-B44B-3CDBF306948B@helmholtz-berlin.de> Message-ID: <72de8926f5a754154aa76f670dfc6b72@ill.fr> Hello Morten, You can probably try something like: >> f1=gauss; >> f2=lorz; >> f3 = (f1.*'x>=0') + (f2.*'x<=0') where we first set the two separate functions, then assemble them with a multiplication with a boolean on the 'x' axis values, and add the two parts. then f3 is what you need. Emmanuel. Le 2013-06-28 11:35, Sales, Morten a ?crit?: > Dear iFit users > > I have a dataset that I would like to fit, and I was hoping that I > might be able to get help from this mailing list. > > I would like to fit a piecewise function, so for one x-range, the > data should be fitted by function 1, for the the next x-range it > should be function 2, etc. > > The functions are 'knotted' together so that the end point of one > function corresponds to the start point of the next. > > Among the fitted parameters I would also like to have the length of > an x-range where the function is constant. > > Is this something I can do with iFit? > (I run iFit-1.3.1a in MatLab R2012a in Mac OS X 10.7.5) > > Best Regards, > Morten Sales > > ________________________________ > > Helmholtz-Zentrum Berlin f?r Materialien und Energie GmbH > > Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher > Forschungszentren e.V. > > Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, > stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph > Gesch?ftsf?hrung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas > Frederking > > Sitz Berlin, AG Charlottenburg, 89 HRB 5583 > > Postadresse: > Hahn-Meitner-Platz 1 > D-14109 Berlin > > http://www.helmholtz-berlin.de > _______________________________________________ > Ifit-users mailing list > Ifit-users at mccode.org > http://mailman.mccode.org/cgi-bin/mailman/listinfo/ifit-users -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel (33) 4 76 20 71 35 ILL, Grenoble