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
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
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
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
___