polyfit

17 ビュー (過去 30 日間)
Yusa Topcu
Yusa Topcu 2012 年 5 月 7 日
Fit a cureve to the below data using Matlab’s polyfit command.
x=[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 16 17 18 19 20];
y=[3 5 7 9 11 13 13.6 13.7 13.8 13.9 14 14.1 14.15 14.2 14.25 14.3 14.32 14.34 14.36 14.37 14.38];
Compare the graphics of original data and fitted curve.
  1 件のコメント
Jan
Jan 2012 年 5 月 7 日
You simply copy your homework question and wait, if somebody solves it for you.

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

回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 5 月 7 日
Some friends for your journey:
doc polyfit
doc polyval
doc plot

カテゴリ

Help Center および File ExchangeArray and Matrix Mathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by