mldivide error
3 views (last 30 days)
Show older comments
Error using ==> mrdivide
Matrix dimensions must agree.
Error in ==> RF_Model at 179
h_L=0.86/sqrt(3+(1/2/lambda_i)+(0.86*l*u_B/pi/g/D_i)^2);
Accepted Answer
Sean de Wolski
on 9 Jun 2011
You probably want the vectorized version?
h_L=0.86./sqrt(3+(1./2./lambda_i)+(0.86.*l.*u_B./pi./g./D_i).^2);
Everything will be element by element instead of matrix division
doc vectorize
0 Comments
More Answers (1)
See Also
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!