what is the MATLAB function to evaluate ncr value when n is real
이전 댓글 표시
what is the MATLAB function to evaluate ncr value when n is real
댓글 수: 6
Kaushik Lakshminarasimhan
2018년 8월 25일
What is ncr?
Walter Roberson
2018년 8월 25일
Number of combinations??
You can easily transform the traditional factorial definition of combinations to use the GAMMA function, but as soon as you go for negative values you have a problem that GAMMA of negative values is infinite.
PJS KUMAR
2018년 8월 25일
Walter Roberson
2018년 8월 25일
What result are you expecting for nCr(-3,pi) ?
PJS KUMAR
2018년 8월 25일
Walter Roberson
2018년 8월 25일
What numeric values do you expect for the cases nCr(0.5,2) and nCr(-3,2) ? Number of combinations is only defined for positive integers.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Robust Control Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
