Matrix division not returning enough decimal places
古いコメントを表示
I am trying to complete a school project using R2018a but I can't get my intermediate values (Eq1x) accurate enough to accurately use polyfit.
format long
T = [196.85, 206.85, 216.85, 226.85, 236.85];
T = T + 273.15; %converts T from celcius to K %T = [470, 480, 490, 500, 510]
Eq1x = (1./T); %inverse of the temperture in K
format long
When I run this, variable Eq1x returns [0.0021, 0.0021, 0.0020, 0.0020, 0.0020].
When I plug these into my TI calculator, I get [0.0021277, 0.0020833, 0.0020408, 0.002000, 0.0019607]
How can I get matlab to return values similar to my calculator values?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!