MATLAB: If i have two matrices A and B. the matrix A combination is 1×15 while matrix two combination is 1×450 and i wanna divide A by B but the dimensions are not equal.so how can i solve this probelm

y2

kafa=(A-B).^2

Best Answer

One way:
B=reshape(B,30,15);
A./B