我想用MATLAB运行这个公式F=(cos(π/2*sinθcosφ))/((1-(sinθ)^2(cosφ)^2)^0.5),θ,φ取值范围是0~90度,没10°一取,我写的程序是“theta=0:pi/18:pi/2beta=0:pi/18:pi/2B=sin(theta).*cos(beta)C=((sin(theta))^2).*((cos(beta))^2)F1=(cos((pi/2)*B))./((1-C)^0.5)”提示我错误为“??? Error using ==> mpowerMatrix must be square.
Error in ==> shiyan at 4C=((sin(theta))^2).*((cos(beta))^2)”大神们帮我看看,是哪里出现错误了!!!!!谢谢!!!!!
Error in ==> shiyan at 4C=((sin(theta))^2).*((cos(beta))^2)”大神们帮我看看,是哪里出现错误了!!!!!谢谢!!!!!