Hello ;; I put in MATLAB cosd(300000/6378136.460) it get me value = 0.999999663039021 But when i calculate it in Excel it get me = 0.998894026219898 I want know which value is correct ???!!!

回答 (1 件)

Image Analyst
Image Analyst 2015 年 12 月 29 日

0 投票

What did you use in Excel? When I use this:
=COS((3.14159265358797/180) * 300000/6378136.46)
(because there is no cosd() function in Excel and I need to convert from your degrees to radians), it gives me the same answer as MATLAB.

カテゴリ

ヘルプ センター および File ExchangeManage Products についてさらに検索

タグ

質問済み:

2015 年 12 月 29 日

回答済み:

2015 年 12 月 29 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by