how to transform two accelerometer data into one sapce using multiset canonical correlation Analysis?

2 views (last 30 days)
Hi everybody,
I have two accelerometer data (ACC1 and ACC2) located in different location each of them have (x, y, and z) direction, which mean ACC1_x not the same direction of ACC2_x, so please how could solve this problem?
is multiset canonical correlation Analysis solve this problem? if yes how I could do that?

Answers (1)

Vinayak
Vinayak on 31 Jul 2023
Hi,
Multiset canonical correlation analysis (MCCA) can indeed be used to address the problem of comparing accelerometer data from different locations, taking into account the different orientations.
To implement this you can use the "canoncorr" function, which is a built-in MATLAB function. This function calculates the canonical correlations between two sets of variables.
After loading and preprocessing your data to the required standards, you could use the following code
[A, B, r] = canoncorr(X, Y)
The outputs, "A" and "B" are the canonical coefficients for X and Y, respectively. These matrices contain the weights for linearly combining the variables to obtain the canonical variates and "r" is a vector containing the canonical correlations between the sets. The elements of "r" represent the strength of the correlations.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!