I have
L = 28×1 vector
D = 28×1 vector
My equation is: V = L*((pi*((D+0.064).^2)/4)-(pi*D.^2)/4)
I have tried
for n = 1:length(D1) for m = 1:length(L1) TankVol(n,m) = L1(m,:)*((pi*((D1(n,:)+0.064).^2)/4)-(pi*D1(n,:).^2)/4); endend
But it's not giving what I need
It's going through the loop too many times if that makes sense, I basically need a V value for each value in L and D.
Best Answer