Guys, Thanks for your efforts.
Can I make an observation. I am a software engineer who is trying to move 4-5 hardened matlab guys to use Octave. We seem to run into simple issues like this where functions just do not work. Is the issue that there is not a test suite for the Octave-Forge packages ? Having simple issues like this makes the matlab guys very reluctant to move to octave. It would be better if there was a full test suite and items that simply do not work are not released to sourceforge. Just my thoughts. Paul. On Fri, Oct 10, 2008 at 1:43 PM, Søren Hauberg <[EMAIL PROTECTED]> wrote: > fre, 10 10 2008 kl. 13:36 +0200, skrev Thomas Weber: >> Am Freitag, den 10.10.2008, 12:31 +0200 schrieb Søren Hauberg: >> > fre, 10 10 2008 kl. 12:20 +0200, skrev Søren Hauberg: >> > > > Mhm, my not totally new version of Matlab doesn't match this >> > > > description. Can someone with a current version please check what >> > > > >> > > > mad(1,2,3) >> > > > gives? >> > > >> > > It gives 0. However, it seems matlab actually support three input >> > > arguments (from the matlab mad help text): >> > > >> > > MAD(X,FLAG,DIM) takes the MAD along dimension DIM of X. >> > > >> > > It doesn't say what FLAG does, so I'm not sure how to treat it. It's >> > > worth mentioning that >> > > >> > > mad (1, 2, 3, 4) >> > > >> > > gives an error. >> > >> > Okay, it seems I was just not reading careful enough. If FLAG is zero >> > the absolute mean deviation is computed, whereas the absolute median >> > deviation is computed if it is one. I think the uploaded version does >> > this, but I'd appreciate if anybody would test it. >> >> I think that Matlab's implementation deviates from its documentation: >> >> flag = 0 => mean deviation >> flag != 0 => median deviation >> >> Should we allow that, too? > > Sure, why not? I guess a few people depend on this. I've made such a > change. > > Søren > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Octave-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/octave-dev > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
