Dear all,

I have two matrices precipitation and temperature data:

`A = rand(101078,16);B = rand(101078,12);`

I want to calculate each column of them together so I will have 192 data, for example:

`A(:,1)*B(:,1);A(:,1)*B(:,2);A(:,1)*B(:,3); ...A(:,2)*B(:,1);A(:,2)*B(:,2);A(:,2)*B(:,3); ...`

Does anyone know about how to simply compute them?

Thanks. Handriyanti

## Best Answer