How to calculate the coefficient related to the expression of the krawtchouk moments
2 次查看(过去 30 天)
显示 更早的评论
Hello I need to calculate this term
using this formulate
Where 2F1 in matlab is the hypergeometric function
Any answer can help me I'm stack with this problem 2 weeks please help
14 个评论
Torsten
2016-3-24
It's very unusual that 1/p instead of x is the independent variable in the hypergeometric function. Are you sure your notation of 2F1 is the usual MATLAB notation used under
?
Best wishes
Torsten.
jenny jenny
2016-3-24
Thanks Torsen for your comment Yes I'm sure It's the hypergemetric function and I need to calculate ak,n,p like I mentionned in the comment :
jenny jenny
2016-3-24
Thank you so mutch Toresten But I don't understand how can that help me to calculate
jenny jenny
2016-3-24
编辑:Walter Roberson
2016-3-24
thank you Torsten for my case I have
- N=20 p=0.5 n=0
- N=20 p=0.5 n=1
- N=20 p=0.5 n=2
- N=20 p=0.5 n=3
For the value of x I 're now what value I affected to x :(
Torsten
2016-3-24
You got it ?
If you enter
the result is
a_0,3,0.5,20 = 1
a_1,3,0.5,20 = -0.333918
a_2,3,0.5,20 = 0.0350877
a_3,3,0.5,20 = -0.00116959
I hope you receive the same results in MATLAB, too, using the taylor() command.
Best wishes
Torsten.
Torsten
2016-3-24
I can't see your uploaded file. Better attach it here using the "Attach File" button.
Best wishes
Torsten.
Torsten
2016-3-24
But I already gave you the correct code:
syms x
taylor(hypergeom([-3, -x], [-20], 2),x)
Best wishes
Torsten.
Torsten
2016-3-24
Then I don't see another way as to copy the results from MATHEMATICA.
Best wishes
Torsten.
jenny jenny
2016-3-24
Thanks a lot Toreson I think this is the correct answer But I have this warning in matlab I don't understand why but I'm appricate your time and your answer thank you so mutch
回答(1 个)
Walter Roberson
2016-3-23
hypergeom([-n, -x], [-N], 1/p)
Just like when you asked before; see http://www.mathworks.com/matlabcentral/answers/274492-calculate-the-krawtchouk-moments-invariants#comment_351830
5 个评论
jenny jenny
2016-3-24
编辑:jenny jenny
2016-3-24
thanks for your answer But what I need is to calculate
where
1) n=0 and (k=0 k=1 k=2 k=3)
2) n=1 and (k=0 k=1 k=2 k=3)
3) n=2 and (k=0 k=1 k=2 k=3)
4) n=3 and (k=0 k=1 k=2 k=3)
and p=0.5
my problem is about how to determinate the value of
using
Walter Roberson
2016-3-24
Insufficient information about your notation. How is "a subscript k comma n comma p" defined?
On the left hand side you have a finite series of low order. On the right hand side you have something that is defined by an infinite summation. Clearly they cannot be defined by the taylor expansion of hypergeometric, as that would be a finite series that could at best approximate the hypergeometric.
jenny jenny
2016-3-24
thank you so much for your answer I well use ak,n,p to calculate an other term all I have is this information (eaglity with the hypergeom) in the article they say that I use this egality to calculate ak,n,p please help :'( :'( what about the comment of Torsten
jenny jenny
2016-3-25
hello every body in a book of informatique I have find this information it's correcte
were
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Special Values 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)