Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_freqcomparison”.
FT_FREQCOMPARISON performs a comparison between two (rpt-/subj-) chan-freq datasets. Differently from ft_freqbaseline, ft_freqcomparison requires two datasets for input arguments (n==2) where the first dataset is considered the norm. The output contains the difference of the second dataset to this norm, expressed in units as determined by cfg.comparisontype. Use as [freq] = ft_freqcomparison(cfg, dataset1, dataset2); where the freq data comes from FT_SPECEST_MTMFFT and the configuration should contain cfg.comparisontype = 'absolute' 'relchange' 'relative' (default = 'absolute') See also FT_FREQBASELINE, FT_FREQANALYSIS, FT_TIMELOCKBASELINE
Share this page: