Estimate the common logarithm of 10 using linear interpolation.
5 ビュー (過去 30 日間)
古いコメントを表示
Interpolate between log 8 = 0.9030900 and log 12 = 1.0791812.
I just learned using Matlab and suddenly got this question to do in Matlab. Can someone help me? Your help is really needed and very appreciated.
0 件のコメント
採用された回答
Oleg Komarov
2012 年 4 月 6 日
step = 0.1;
log10(8:step:12)
3 件のコメント
Oleg Komarov
2012 年 4 月 7 日
Be aware it's linear interpolation:
p(1) + diff(p)/2 % midpoint
gives the same result as your example above.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!