Does Matlab have a permutation operator?

1 次查看(过去 30 天)
I just want to perform the operation
10! = 10*9*8*7*6*5*4*3*2*1,
but I can only find permutations relating to the obtaining all combinations of a vector. Is there simply an operations defined in matlab for this? Thank you!

采纳的回答

Birdman
Birdman 2018-3-14
编辑:Birdman 2018-3-14
There is a built-in function called factorial:
>>factorial(10)
ans=
3628800

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Function Creation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by