Correlation (or something similar) analysis between data with different sampling rates
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.