数値の予測方法

1 view (last 30 days)
qrqr
qrqr on 12 Feb 2019
Commented: madhan ravi on 12 Feb 2019
以下の数値があります。
x = [1,2,3,4,5,y]
ここでyにあてはまる値を数値の傾向などで予測することはできますか?
この場合、誰もがy=6だと思うはずですが
x = [12,31,455,673,812,12,y]
この様に数値がまばらな状況もあります。
わかりずらい質問かもしれませんが、宜しくお願いします。

Accepted Answer

madhan ravi
madhan ravi on 12 Feb 2019
x=[1:5 NaN];
fillmissing(x,'linear')
% likewise try it for your second example
  3 Comments
qrqr
qrqr on 12 Feb 2019
Edited: qrqr on 12 Feb 2019
Thanks !!
Bat I can't your answer code
Because my MATLAB version "2013b"
So I installed "2018b"
I'm Japanese peopre
Sorry for weird English
madhan ravi
madhan ravi on 12 Feb 2019
No problem , glad that you upgraded , please don't be sorry ;-)

Sign in to comment.

More Answers (0)

Categories

Find more on 初等数学 in Help Center and File Exchange

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!