Correlation (or something similar) analysis between data with different sampling rates I tried to do correlation analysis on the data with different sampling rates.

For example, I have two sensors, A and B. Each sensor collects data with different sampling rates, e.g., A: 10Hz, B: 1Hz.

I turned on and off these two sensors at the same time, and collect data for 2 minutes.

Then, sensor A will give 1200 samples of data, and sensor B will give 120 samples. 

I want to know the relation of these two data samples, like the values or trends from sensor A and sensor B are very similar. 

Correlation may be one method to show such a relation, but how can I do correlation analysis in case of different sampling rates between two data?
You can adjust the sampling rate of a sequence. For example, the data from sensor B can be interpolated to the same sampling frequency as sensor A.

Sample rate increase is called interpolation and, if working in matlab, there is a function for this.

Lowering the sample rate is called decimation, also supported in matlab.

Once at the same sampling rate, correlation is easier to calculate.