Hello,
You might be interested in installing the "specfun
<http://atoms.scilab.org/toolboxes/specfun>" ATOMS module(
atomsInstall('specfun')
The implementation given by Serge is inside the module and can be called
with
n = 5;
m = 0:n;
c = specfun_nchoosek(n, m)
You will obtain all the binomial coefficientsin a row vector.
Once loaded you can check other helpful functions with
help("Specfun Toolbox")
Best,
Le 04/02/2015 09:37, Serge Steer a écrit :
please see
http://svn.forge.scilab.org/docintrodiscrprobas/en_US/introdiscreteprobas/scripts/nchoosek.sci
Serge Steer
------------------------------------------------------------------------
*De: *"Paweł Postek" <[email protected]>
*À: *[email protected]
*Envoyé: *Mardi 3 Février 2015 19:35:02
*Objet: *[Scilab-users] Help about Scilab
Hello.
My name is Pawel and i have a big problem. I have a code in matlab
witch use nchoosek function.
for n = 5
for m = (1:n)
c = nchoosek (n,m)
end
end
I need to convert this code to Scilab.
I'm trying to do this, but I fail.
If anyone could help me?
Thank you
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
--
Pierre-Aimé Agnel
R&D Projects Manager
Phone: +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
http://www.scilab-enterprises.com
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users