how can the graph between x and y be extrapolated?
5 ビュー (過去 30 日間)
古いコメントを表示
How can the graph between x and y be extrapolated?
x=linspace(140 230 10);
y=[54 60 70 76 86 100 112 130 152 180];
Find the value of y at x=0 and also extrapolate the graph until x=0.
3 件のコメント
Star Strider
2016 年 3 月 17 日
If this is not homework, is there any reason for you to assume that the data exist at x=0?
What are your data? (What are the actual units of ‘x’ and ‘y’?)
What process produced them?
Do you have a mathematical model of the process that produced them?
回答 (1 件)
John BG
2016 年 3 月 18 日
編集済み: John BG
2016 年 3 月 18 日
Parul
try
p=polyfit(x,y,3)
define the extended range x2, for instance
x2=linspace(100,600,10)
approximate vales of y along extended rage x2 with
y2=polyval(p,x2)
If you find this answer of any help solving your question, please click on the thumbs-up vote link,
thanks in advance
John
note: since i don't know whether it's homework or not i assume it isn't
it's not that don't care, just don't consider asking appropriate.
if you consider it may be an attempt of homework piggy-backing, just say nothing and hop to next question.
It could be genuinely an attempt to unblock a problem, regardless homework or not.
It could be a student with poor command of English taking courage and asking to keep pace.
it's up to you to decide whether to help or not, if you try to gather 'intel'
they may stop asking, and you don't want that, do you?
does it make sense?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!