Dear Vladimir, When I reduce the number of frequency modes I do not get the warning, however the csd seems not to be calculated. best, Stephan El 24/05/2012, a las 13:00, Stephan Moratti escribió: > Hi Vladimir > > I tried to do DCM (SSR) on a time frequency window of interest of my MEG data (Elekta Neuromag) with magnetometer sensor data. I get the following errors: > > > evaluating condition 2 (trial 62)Warning: Matrix is close to singular or badly scaled. > Results may be inaccurate. RCOND = 5.917766e-22. > > In spm_mar at 166 > In spm_dcm_ssr_data at 209 > In spm_dcm_ssr at 112 > In spm_api_erp>estimate_Callback at 1074 > In spm_api_erp at 40 > In @(hObject,eventdata)spm_api_erp('estimate_Callback',hObject,eventdata,guidata(hObject)) > Index exceeds matrix dimensions. > > Before I had problems doing a group inversion it was due to a scaling problem of the lead fields. After the fixes you have sent me, I recalculated the lead fields and the group inversion worked fine. Now, the current error could be to a similar problem (scaling of the data) ??? > > Thanks in advance for you help. > > Best, > > Stephan > > > ________________________________________________________ > Stephan Moratti, PhD > > see also: http://web.me.com/smoratti/ > > Universidad Complutense de Madrid > Facultad de Psicología > Departamento de Psicología Básica I > Campus de Somosaguas > 28223 Pozuelo de Alarcón (Madrid) > Spain > > and > > Center for Biomedical Technology > Laboratory for Cognitive and Computational Neuroscience > Parque Científico y Tecnológico de la Universidad Politecnica de Madrid > Campus Montegancedo > 28223 Pozuelo de Alarcón (Madrid) > Spain > > > email: [log in to unmask] > Tel.: +34 679219982 > > ________________________________________________________ Stephan Moratti, PhD see also: http://web.me.com/smoratti/ Universidad Complutense de Madrid Facultad de Psicología Departamento de Psicología Básica I Campus de Somosaguas 28223 Pozuelo de Alarcón (Madrid) Spain and Center for Biomedical Technology Laboratory for Cognitive and Computational Neuroscience Parque Científico y Tecnológico de la Universidad Politecnica de Madrid Campus Montegancedo 28223 Pozuelo de Alarcón (Madrid) Spain email: [log in to unmask] Tel.: +34 679219982