hi simple computation(adsbygoogle = window.adsbygoogle || []).push({});

A = 60x60x100

B = 60x60x30

I want to find A*B, by this I mean, I want a 100x30 output matrix where element (k,m) represents the sum of A(i,j,k)*B(i,j,m) over all i,j

My brain is simply not working and I'm confusing myself, does anyone have a short line of code to calculate this sum?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Simple MATLAB computation

**Physics Forums | Science Articles, Homework Help, Discussion**