Re: [OctDev] fwhm.m

2010-03-26 Thread Benjamin Lindner
Søren Hauberg wrote: > Hi Petr (CC: the Octave-Forge list) > > I guess the 'signal' package is currently without a maintainer since a > release hasn't been made for so long. If anybody is interested in > maintaining this package it would be of great value to the community. > Personally, I don't kn

Re: [OctDev] fwhm.m

2010-03-10 Thread Søren Hauberg
Hi Petr (CC: the Octave-Forge list) I guess the 'signal' package is currently without a maintainer since a release hasn't been made for so long. If anybody is interested in maintaining this package it would be of great value to the community. Personally, I don't know enough about signal processing

Re: [OctDev] fwhm.m

2009-07-15 Thread Søren Hauberg
ons, 15 07 2009 kl. 14:18 +0200, skrev Petr Mikulik: > Well, the routine works on data, not on functions. Consider an experiment > with measured 100 data sets put columnwise into a matrix y. Then max(y), > min(y), mean(y), std(y), etc. give statistics for each data set at one call. > Therefore fw

Re: [OctDev] fwhm.m

2009-07-15 Thread Petr Mikulik
> The code doesn't work for me. In fact, there are two cases where fwhm is set > to 0. With the previou code, I had the right fwhm. That's why I don't like a > very complex code, because it has strange behavious for ome cases. I have tried many testing data and found no fail. If you think you ha

Re: [OctDev] fwhm.m

2009-07-13 Thread Autiwa
here is the function I use. On it, I corrected the way to calculate fwhm, and with cos, it works now, try this line : x=pi:0.01:3*pi; plot(x,cos(x)); fwhm(x,cos(x)) Hope it will help you Regards, Christophe Le lundi 13 juillet 2009 à 16:37 +0200, Petr Mikulik a écrit : > > The function will

Re: [OctDev] fwhm.m

2009-07-13 Thread Autiwa
The code doesn't work for me. In fact, there are two cases where fwhm is set to 0. With the previou code, I had the right fwhm. That's why I don't like a very complex code, because it has strange behavious for ome cases. My function wa very simple, did only one thing, but did it well. My progra

Re: [OctDev] fwhm.m

2009-07-13 Thread Petr Mikulik
> The function will not work if there is many impulsion (maximum) in the > vector imput. > > To be honest, I didn't know that cosinus had a fwhm. I just code that > function for my own use and share it. I will not improve this to work on > every mathematical function it already exist. Well, it i

Re: [OctDev] fwhm.m

2009-07-13 Thread Søren Hauberg
man, 13 07 2009 kl. 16:29 +0200, skrev Petr Mikulik: > The enclosed script fwhm.m is rewritten from scratch (I was also using > such a function earlier). It seems you forgot to attach the file. Søren -- Enter the Bla

Re: [OctDev] fwhm.m

2009-07-13 Thread Petr Mikulik
> The function will not work if there is many impulsion (maximum) in the > vector imput. > > To be honest, I didn't know that cosinus had a fwhm. I just code that > function for my own use and share it. I will not improve this to work on > every mathematical function it already exist. Well, it i

Re: [OctDev] fwhm.m

2009-07-13 Thread Autiwa
The function will not work if there is many impulsion (maximum) in the vector imput. To be honest, I didn't know that cosinus had a fwhm. I just code that function for my own use and share it. I will not improve this to work on every mathematical function it already exist. I haven't enought knowl

Re: [OctDev] fwhm.m

2009-07-13 Thread Petr Mikulik
> > Ok, I think it's good now :) > > Thanks. Since nobody has commented, I assume people think your stuff is > good :-) > > I've (hopefully) made the documentation somewhat more clear, and changed > the coding-style a bit. Could you check that I haven't broken anything? > I'm attaching the code.

Re: [OctDev] fwhm.m

2009-07-11 Thread Søren Hauberg
Hi Since nobody had any comments, and you didn't raise any further concerns about Matlab compatibility, I've added the 'fwhm' function to SVN. Søren -- Enter the BlackBerry Developer Challenge This is your chance to w

Re: [OctDev] fwhm.m

2009-07-05 Thread Søren Hauberg
tor, 02 07 2009 kl. 22:48 +0200, skrev Autiwa: > Ok, I think it's good now :) Thanks. Since nobody has commented, I assume people think your stuff is good :-) I've (hopefully) made the documentation somewhat more clear, and changed the coding-style a bit. Could you check that I haven't broken any

Re: [OctDev] fwhm.m

2009-07-05 Thread Søren Hauberg
søn, 05 07 2009 kl. 14:10 +, skrev Autiwa: > I modified the .m because I prefer that if fwhm is not defined, that > fwhm is set to 0. En fact, it happens sometimes that it's a normal > behaviour for a signal not to have a fwhm. It's disturbing to break > the run of the program only because of t

Re: [OctDev] fwhm.m

2009-07-02 Thread Autiwa
Ok, I think it's good now :) Le jeudi 02 juillet 2009 à 22:44 +0200, Søren Hauberg a écrit : > tor, 02 07 2009 kl. 22:36 +0200, skrev Autiwa: > > I think that the last 3 mail (this one count) were only in private > > conversation > > Ohh, I didn't notice. I'm CC'ing the list. > > > Here is the

Re: [OctDev] fwhm.m

2009-07-02 Thread Søren Hauberg
tor, 02 07 2009 kl. 22:36 +0200, skrev Autiwa: > I think that the last 3 mail (this one count) were only in private > conversation Ohh, I didn't notice. I'm CC'ing the list. > Here is the program with comments in english, maybe less complete, and > with english error, because I talk easier in fre

Re: [OctDev] fwhm.m

2009-07-02 Thread Søren Hauberg
Hi and welcome; it's always nice to see new contributors :-) > As the title say, I have programmed a function that return the fwhm > (full width at half maximum) of an input function. I programmed it > because I didn't found it in the already existings functions. Thanks. It seems that such a fun

[OctDev] fwhm.m

2009-07-02 Thread Autiwa
Hello, It seems that if I want to propose a new function to the community, I must send an e-mail to this list. As the title say, I have programmed a function that return the fwhm (full width at half maximum) of an input function. I programmed it because I didn't found it in the already existings