Can someone tell me what is wrong with this command?
1 view (last 30 days)
Show older comments
Alex Castillo
on 27 Feb 2015
Commented: Star Strider
on 27 Feb 2015
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 24x1 matrices and I want my answer to be a 24x1 matrix as well. Any help would be appreciated,
Thanks!
0 Comments
Accepted Answer
Star Strider
on 27 Feb 2015
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.
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!