MATLAB: Can someone tell me what is wrong with this command

matrix manipulationmatrix multiplication

0.4275 * temp. *(abs(w)).^(0.16)'
I've tried doing element by element and transposing to get the right dimensions. This is just one part to a problem. the rest of the equation is
twc= 35.74 + .6125 * temp -35.75 * (abs(w)).^(0.16) + 0.4275 * temp. *(abs(w)).^(0.16)'
temp and w are 24×1 matrices and I want my answer to be a 24×1 matrix as well. Any help would be appreciated,
Thanks!

Best Answer

Transposing the last term is one problem.
This works:
twc= 35.74 + .6125 * temp -35.75 .* (abs(w)).^(0.16) + 0.4275 * temp .* (abs(w)).^(0.16);
I will leave it to you to decide if it gives the correct answer.