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);

댓글 수: 1

Gowtham
Gowtham 2011년 6월 9일
do i need to change it to ./ or use .\ ???

댓글을 달려면 로그인하십시오.

 채택된 답변

Sean de Wolski
Sean de Wolski 2011년 6월 9일

0 개 추천

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

추가 답변 (1개)

Ivan van der Kroon
Ivan van der Kroon 2011년 6월 9일

0 개 추천

./ for right and .\ for left division

댓글 수: 1

Gowtham
Gowtham 2011년 6월 9일
thanks for replying ...do i need to replace all the / with the respective one ?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Point Cloud Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by