フィルターのクリア

Converting table data from Celsius unit to Fahrenheit unit

4 ビュー (過去 30 日間)
Md Sadiq
Md Sadiq 2024 年 3 月 13 日
コメント済み: Md Sadiq 2024 年 3 月 13 日
The data in column 10-17 (for the table in the attached picture) are temperature in celcius unit.How I can convert these data in Farenheit unit? In excel,it's easy.But my number of rows exceed excel limit.I have 1349417 data in each column. So,I need to convert them in Matlab for plotting the temperature in Farenheit unit.Can anyone help?

採用された回答

Walter Roberson
Walter Roberson 2024 年 3 月 13 日
Result = T(:,10:17) * (9/5) + 32 ;
  3 件のコメント
Walter Roberson
Walter Roberson 2024 年 3 月 13 日
You forgot to mark that you are using an older MATLAB version :-(
temp = T{:,10:17} * (9/5) + 32 ;
Result = array2table(temp, 'VariableNames', T.Properties.VariableNames(10:17));
Md Sadiq
Md Sadiq 2024 年 3 月 13 日
I used the following,it worked.
Result = T(:,10:17).*(9/5) + 32 ;
Thanks

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParticle & Nuclear Physics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by