How to correlate 2D correlation coefficient between array with each row in matrix with the same number of columns

Hi- I have a A (1x12 array) and a B(49x12 matrix), and I would like to generate a correlation coefficient between A and each Row of B- so 49 correlation coefficients. Because they are two different sizes, is there still a way for me to use corr2 to do this?
Thanks!

Answers (0)

Asked:

on 30 Nov 2018

Community Treasure Hunt

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

Start Hunting!