フィルターのクリア

Degree to radians conversion

6 ビュー (過去 30 日間)
Anshul Jain
Anshul Jain 2021 年 2 月 18 日
編集済み: Jan 2021 年 2 月 18 日
Respected sir,
I have 216 values of angle Beta X in degrees.
I want to convert all of them into radians.
Kindly let me know how to do that?
Excel file is attached herewith.
Kindly also let me know how to import the excel file into matlab when I have only one variable with many values (like attached here).
Thanks in advance.

回答 (1 件)

Jan
Jan 2021 年 2 月 18 日
編集済み: Jan 2021 年 2 月 18 日
Import the Excelfile by readtable .
The conversion from degree to radians is easy, but in most cases not needed, because all trigonometric function exist in a version also, which accepts degrees: sind, cosd, tand etc. But if you really need a conversion:
Rad = Deg * (pi / 180);
An alternativ is the function deg2rad(), which does exactly the same.
  1 件のコメント
Anshul Jain
Anshul Jain 2021 年 2 月 18 日
Thank you sir!!!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by