How to subtract off the mean for each dimension in a multi-dimension data?

1 view (last 30 days)
Hi. So I want to calculate PCA for a large number of samples. I have no problem subtracting off the mean for audio samples since audio only has 2 dimensions and I can easily use a `for` loop .However, this is a different case for video since each video sample has about 18-20 dimensions. How can I compute this?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!