how can i solve this?
이전 댓글 표시
I am trying to solve this really simple code problems, but I wan not able:
Omega=zeros(1,800);
Y=cos(km2rad(20));
for n=1:800
Omega(n)=(1/2)*[(legendreP(n-1,Y))-(legendreP(n+1,Y))];
end
Omegazero=(1/2)*(1-Y);
OmegaT=[Omegazero Omega];
********************************************************************
The real formulation is:
Omega(n)=1/2[Pn-1(Y)-Pn+1(Y)],
OmegaZero=1/2(1-Y)
Y=cos(20km) that should be in radian.
I know the answer but I can not reach to real answer. I got something really different.
Thanks
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 3-D Function Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!