Why didn't I find the same answer?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, i try to calculate the math in 2 ways, but i couldn't find the same result, i don't why ?. Here is the problem
% method 1
a=gamma(3/10)-igamma(3/10,-7/100);
b=-(-1)^(7/10)*10^(3/5);
c=a*b;
% method 2
alpha=0.3;
s=0.1;
t=7;
A=gamma(alpha)-igamma(alpha,-s^2*t);
B=-(-1)^(alpha-1)*(1/s^2)^(alpha);
C=A*B;
result :
why ?? but
!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/730559/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/730564/image.png)
What should i do now ?
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Gamma Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!