[FieldTrip] type mismatch error in ft_freqanalysis

Ozan Çağlayan ozancag at gmail.com
Tue Dec 10 17:41:35 CET 2013


On Tue, Dec 10, 2013 at 6:40 PM, Ozan Çağlayan <ozancag at gmail.com> wrote:
> Hi,
>
> I was struggling with the problem below for an hour and digging
> through the code I found out that I was setting cfg.fsample = 128
> instead of cfg.fsample = 128.0 which was causing an int32 cfg.pad
> which was causing a type mismatch in the below line.

not cfg.fsample of course, data.fsample..


-- 
Ozan Çağlayan
Research Assistant
Galatasaray University - Computer Engineering Dept.
http://www.ozancaglayan.com




More information about the fieldtrip mailing list