Skip to content

Average participants #198

Description

@sarahldgn

Hello,
I'm very new to letswave (and to MatLab as well) and I'm doing frequency-domain analysis with data collected by frequency-tagging. I looked at every participants individually by averaging their epoch. However now I would like to average all the participants for every epoch but I can't figure out how to do it. Each time I get this message :

"Array dimensions must match for binary array op.

Error in RLW_grand_average (line 60)
out_data=out_data+(data*dataset_weights(setpos));

Error in LW_grand_average (line 76)
[out_datasets(1).header,out_datasets(1).data,message_string]=RLW_grand_average(datasets,'dataset_weights',configuration.parameters.dataset_weights);

Error in letswave_gui>menu_callback (line 387)
[configuration,datasets]=eval(eval_st);

Error while evaluating Menu Callback."

Could someone help me with this?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions