Re: [Scilab-users] My Scilab 6.1.0 desktop crashes on this line

2021-03-22 Thread Stéphane Mottelet
Hello, With the latest build on OSX: --> disp(ascii(13)+"a;") a;" No crash. Maybe this was fixed in the meantime ^^ S. Le 22/03/2021 à 19:29, Jan-Åge Langeland a écrit : I kept getting some crashes, and found it to be caused by a line that can be stripped down to this:

Re: [Scilab-users] My Scilab 6.1.0 desktop crashes on this line

2021-03-22 Thread Jean-Yves Baudais
Hi, It's a known bug that has been solved, but not in Scilab 6.1.0. -- Jean-Yves - Original Message - > From: "Jan-Åge Langeland" > To: "Users mailing list for Scilab" > Sent: Monday, 22 March, 2021 19:29:38 > Subject: [Scilab-users] My Scilab 6.1.0 desktop crashes on this line > I

Re: [Scilab-users] How to specify angle in degree and minutes

2021-03-22 Thread Dang Ngoc Chan, Christophe
Hello, > De : Dmitry Samersoff > Envoyé : mardi 16 mars 2021 19:59 > > I need to calculate cosine of bunch of angles > that comes as Degree Minutes Seconds (e.g. 44d32m11s). > > What is the best way to do it in scilab? If you have a vector of numbers angle = [dd, mm, ss], it is rather easy to

Re: [Scilab-users] How to specify angle in degree and minutes

2021-03-22 Thread Stéphane Mottelet
Hello, The best way would be to use msscanf: --> [x]=msscanf("44d32m11s","%dd%dm%ds")  x  =    44.   32.   11. S. Le 16/03/2021 à 19:59, Dmitry Samersoff a écrit : Hello Everybody, I need to calculate cosine of bunch of angles that comes as Degree Minutes Seconds (e.g. 44d32m11s). What

Re: [Scilab-users] How to specify angle in degree and minutes

2021-03-22 Thread Dmitry Samersoff
Hello Christophe, Thank you for your support. tokens + arithmetic conversion did what I was needed. It would be nice to have the support for such notation in a future and avoid extra steps - this kind of data is rather common for many areas of knowledge. -Dmitry On 22/03/2021 11:16, Dang

[Scilab-users] My Scilab 6.1.0 desktop crashes on this line

2021-03-22 Thread Jan-Åge Langeland
I kept getting some crashes, and found it to be caused by a line that can be stripped down to this: disp(ascii(13)+"a;") Is there a logical explanation? Jan ___ users mailing list users@lists.scilab.org