[mirtoolbox] Re: mirmean() bug ?

  • From: Olivier Lartillot <olartillot@xxxxxxxxx>
  • To: mirtoolbox@xxxxxxxxxxxxx
  • Date: Sun, 30 Dec 2012 20:57:09 +0100

Hi Anas,

Yes, indeed, mirmean was quite buggy. Now fixed. Corrected code enclosed.

(I was considering mirmean as somewhat obsolete and replaced by more complete 
mirstat. But I can understand that mirmean can still be useful because simple.)

Cheers,

Olivier

Attachment: mirmean.m
Description: Binary data


On Dec 27, 2012, at 3:31 PM, Anas Ghrab wrote:

> Hi all,
> 
> When I do  :
> 
> rou = mirroughness('myaudio');
> mean = mirmean(rou)
> 
> I get the following error :
> 
> Cell contents reference from a non-cell array object.
> 
> Error in mirscalar/display (line 50)
>    if size(vi,1) == 1 && size(vi,2) == 1 && size(vi,3) == 1 && ...
> 
> 
> Is there a bug ?
> 
> 
> Thanks,
> 
> ---
> Anas

Other related posts: