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

Stéphane Mottelet stephane.mottelet at utc.fr
Mon Mar 22 14:53:26 CET 2021


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 is the best way to do it in scilab?
>
> Does cosd() accept some notation that is similar to one above?
>
> Thank you!
> -Dmitry
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users 
>

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet




More information about the users mailing list