how can i write this equation in matlab?

min z = sum sum sum sum (f(i,k))*(d(j,q))*(x(i,j))*(x(k,q))

i and k is a facilities..

facilities i and facilities k...

j and q is a location...

location j and location q ...

f (i,k) mean flow between facility i and k..

d(j, q) mean distance between facility j to q

Similar questions and discussions