From Christophe.Dang at sidel.com Thu Aug 4 09:30:11 2022 From: Christophe.Dang at sidel.com (Dang Ngoc Chan, Christophe) Date: Thu, 4 Aug 2022 07:30:11 +0000 Subject: [Scilab-users] Problem with ticks In-Reply-To: <50740198-f0ef-3fff-5f05-73f2c9252d0e@hslmg.de> References: <50740198-f0ef-3fff-5f05-73f2c9252d0e@hslmg.de> Message-ID: Hello, You have to keep consistant the size of the locations and labels. Try : foo = [0:10:200]'; ca.x_ticks=tlist(ca.x_ticks(1), foo, string(foo)) Kind regards De : users De la part de Jens Simon Strom Envoy? : jeudi 28 juillet 2022 23:07 General ca.x_ticks.locations=[0:20:200]'; ca.x_ticks.labels=string(ca.x_ticks.locations) [...] //ca.x_ticks.locations=[0:10:200]'; //ca.x_ticks.labels=string(ca.x_ticks.locations) This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.s.strom at hslmg.de Mon Aug 29 20:46:57 2022 From: j.s.strom at hslmg.de (Jens Simon Strom) Date: Mon, 29 Aug 2022 20:46:57 +0200 Subject: [Scilab-users] Uniform distribution of non equidistant integers Message-ID: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> Hallo, to get a random number from an uniform distribution of e.g. 1, 5 and 9 I can use x=grand(1,1, "uin", 1, 3); if x==2; x=5; elseif x==3 x=9; end xI there a more straightforward way? Regards Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Aug 30 00:09:40 2022 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 30 Aug 2022 00:09:40 +0200 Subject: [Scilab-users] Uniform distribution of non equidistant integers In-Reply-To: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> References: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> Message-ID: <3d034d3d-e13e-6928-b138-b33f3eb3109c@free.fr> Le 29/08/2022 ? 20:46, Jens Simon Strom a ?crit?: > Hallo, > to get a random number from an uniform distribution of e.g. 1, 5 and 9 > I can use > > x=grand(1,1, "uin", 1, 3); if x==2; x=5; elseif x==3 x=9; end xI there > a more straightforward way? sample(1, [1 5 9]) -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Aug 30 00:11:53 2022 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 30 Aug 2022 00:11:53 +0200 Subject: [Scilab-users] Uniform distribution of non equidistant integers In-Reply-To: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> References: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> Message-ID: Le 29/08/2022 ? 20:46, Jens Simon Strom a ?crit?: > Hallo, > to get a random number from an uniform distribution of e.g. 1, 5 and 9 > I can use > > x=grand(1,1, "uin", 1, 3); if x==2; x=5; elseif x==3 x=9; end xI there > a more straightforward way? or, faster, [1 5 9](grand(1,1,"uin",1,3)) -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmiyara at fceia.unr.edu.ar Tue Aug 30 01:22:45 2022 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Mon, 29 Aug 2022 20:22:45 -0300 Subject: [Scilab-users] Uniform distribution of non equidistant integers In-Reply-To: References: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> Message-ID: <3a40d752-6d6b-0c6b-f365-0690f978a40a@fceia.unr.edu.ar> Samuel, > or, faster, > > [1 5 9](grand(1,1,"uin",1,3)) > This one is absolutely brilliant! Regards, Federico Miyara -- El software de antivirus Avast ha analizado este correo electr?nico en busca de virus. https://www.avast.com/antivirus From j.s.strom at hslmg.de Tue Aug 30 11:25:54 2022 From: j.s.strom at hslmg.de (Jens Simon Strom) Date: Tue, 30 Aug 2022 11:25:54 +0200 Subject: [Scilab-users] Uniform distribution of non equidistant integers In-Reply-To: <3a40d752-6d6b-0c6b-f365-0690f978a40a@fceia.unr.edu.ar> References: <153a3200-8ff8-01a2-7a06-5b81b516d2c5@hslmg.de> <3a40d752-6d6b-0c6b-f365-0690f978a40a@fceia.unr.edu.ar> Message-ID: Thank you all for your valuable and quick help! [1 5 9](grand(1,1,"uin",1,3)) and sample(1, [1 5 9]) are now? my favorites. Regards Jens ----------------------------------------------------------------------- Am 30.08.2022 um 01:22 schrieb Federico Miyara: > > Samuel, > >> or, faster, >> >> [1 5 9](grand(1,1,"uin",1,3)) >> > > This one is absolutely brilliant! > > Regards, > > Federico Miyara > From Bruno.JOFRET at 3ds.com Tue Aug 30 14:45:01 2022 From: Bruno.JOFRET at 3ds.com (JOFRET Bruno) Date: Tue, 30 Aug 2022 12:45:01 +0000 Subject: [Scilab-users] Scilab is joining 3DS Message-ID: Dear Scilab community, Since August 1st 2022, Scilab and its operational team have joined Dassault Syst?mes, the 3DEXPERIENCE Company. It is exciting to start a new chapter for Scilab, the reference open source Numerical Computation engine for business and innovation, under the umbrella of Dassault Syst?mes, and we want to thank ESI Group for the last 5 years of support to the Scilab initiative. Adeline CARNIS, Antoine ELIAS, C?dric DELAMARRE and Cl?ment DAVID, together with Vincent COUVERT and Bruno JOFRET (former Scilab teammates at the INRIA and Scilab Enterprises) will continue developing and promoting Scilab as an open-source software, as part of their mission at Dassault Syst?mes. A transition phase is ongoing and we will do our best to make this transition seamless for the community. Stay tuned, The Scilab Team Cordialement / Best Regards / ?????????? Bruno JOFRET CATIA R&D Cyber Systems ? Model Based Design Apps Portfolio Senior Manager +33 7 8214 3641 bruno.jofret at 3ds.com 3DS.COM/CATIA [3DS Logo] Immeuble le Signal | 18 Chemin de Malacher | 38240 Meylan | France This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Syst?mes does not accept or assume any liability or responsibility for any use of or reliance on this email. Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at 3DS.compliance-privacy at 3ds.com For other languages, go to https://www.3ds.com/terms/email-disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 7915 bytes Desc: image001.png URL: