Jul 22, 2012 #1 O other-side-of-d-moon Advanced Member level 4 Joined Oct 18, 2010 Messages 100 Helped 3 Reputation 6 Reaction score 3 Trophy points 1,298 Activity points 1,961 Hello friends! Please guys help me to correct this code because i got this problem each time ??? Error using ==> mrdivide Matrix dimensions must agree. this is my code f=6 hR=4.5; hs=2 phi=11 theta=55 GamaR=9 L1=hR-hs; L2=sind(theta); Ls=(L1)/(L2); LG=Ls*cosd(theta); r001=(1./(1+(0.78*(sqrt((LG*GamaR)./f)))-(0.38*(1-(exp(-2*LG)))))); zeta=atand((hR-hs)/(LG*r001)); regards Last edited: Jul 22, 2012
Hello friends! Please guys help me to correct this code because i got this problem each time ??? Error using ==> mrdivide Matrix dimensions must agree. this is my code f=6 hR=4.5; hs=2 phi=11 theta=55 GamaR=9 L1=hR-hs; L2=sind(theta); Ls=(L1)/(L2); LG=Ls*cosd(theta); r001=(1./(1+(0.78*(sqrt((LG*GamaR)./f)))-(0.38*(1-(exp(-2*LG)))))); zeta=atand((hR-hs)/(LG*r001)); regards