|
"Danny " <dmccorm2@nd.edu> wrote in message <jrvu16$7ri$1@newscl01ah.mathworks.com>...
>
>
> In other words, it averages column 1 of PSDtrim_1 with column 1 of PSDtrim_2 to make an averaged column, and then proceeds with column 2 of PSDtrim_1...
==============
For that to be possible, all matrices PSDtrim_i would have to be the same size. So then why couldn't you instead store your PSDs into different slices of a 3D array, i.e., so that instead of PSDtrim_i, you would have PSDtrim(:,:,i)
Then, to average together corresponding columns, all you would need to do is
result=mean(PSDtrim,3);
If this still doesn't apply to your situation, I think we need you to show us some miniature examples of PSDtrim_i, for i=1,2,3 and show what you want the output to be.
|