How can I create a script that calculates this combinatorial?
    7 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    

0 comentarios
Respuestas (1)
  Vladimir Sovkov
      
 el 23 de Ag. de 2020
        C=nchoosek(n,r)
2 comentarios
  Vladimir Sovkov
      
 el 24 de Ag. de 2020
				Here you compute  but not the binomial coefficient
 but not the binomial coefficient  . Is this what you really want? Otherwise, what stops you from using the inbuilt function nchoosek, which is much more efficient than any loop construction can be?
. Is this what you really want? Otherwise, what stops you from using the inbuilt function nchoosek, which is much more efficient than any loop construction can be?
 but not the binomial coefficient
 but not the binomial coefficient  . Is this what you really want? Otherwise, what stops you from using the inbuilt function nchoosek, which is much more efficient than any loop construction can be?
. Is this what you really want? Otherwise, what stops you from using the inbuilt function nchoosek, which is much more efficient than any loop construction can be?Ver también
Categorías
				Más información sobre Startup and Shutdown en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


