Re: [Scilab-users] Help about Scilab

2015-02-04 Thread Serge Steer
please see 
http://svn.forge.scilab.org/docintrodiscrprobas/en_US/introdiscreteprobas/scripts/nchoosek.sci
 
Serge Steer 

- Mail original -

 De: Paweł Postek post...@o2.pl
 À: users@lists.scilab.org
 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
 users@lists.scilab.org
 http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Help about Scilab

2015-02-04 Thread Paweł Postek
 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
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Help about Scilab

2015-02-04 Thread Samuel Gougeon

Hello,

Le 04/02/2015 12:07, Pierre-Aimé Agnel a écrit :

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,
As stated in the long-discussed bug report from which this nchoosek has 
been designed, this function should be transfered in Scilab. It is a 
common function available on almost all basic pocket calculators. It is 
somewhat a non-sense to have to load an external module to get it.


Best regards
Samuel



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Help about Scilab

2015-02-04 Thread Pierre-Aimé Agnel

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 post...@o2.pl
*À: *users@lists.scilab.org
*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
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users




___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


--
Pierre-Aimé Agnel
RD 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
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users