|
Senior Member
|
引用:
|
作者上善若水
another thing you could try is using "fminsearch",
please have a look at the example of Matlab help
on this function.
(sorry typing English is easier for me)
basically you have to think about what kind of function
(or series) you want to approximate the "real data" with.
then it's not too hard to find the "best" parameters(usually
coefficients) in the function/series that can represent the real
data with "least" error.
I just helped my friend solving this kind of problem, the
code required to do this isn't too hard to write.
|
感謝提供的訊息,我在去試試看。
__________________
曾經有一份真誠的愛擺再我面前
而我沒有去珍惜
等到失去後才後悔莫及
人世間的悲痛莫過於此
如果上天能在給我重來一次的機會
我會對那個女孩說
我愛妳
如果非得在這愛加上一個期限
我希望是
一萬年
|