→ iyenn:hint |x| is even function at -1~1 10/23 22:28
<f,g> = f(x)g(x) dx 從1到-1
Find the best least square approximation to |x|,by a function form the
2
subspace 1,x,x
2 2
先對 1,x,x 做正交化 得 1/√2 , √3*x / √2 ,(3√5)*(x-1/3) / 2√2
主要問題點是在<|x|,1/√2>*1/√2
不會算 我把它當普通x 去算答案好像不對!?
2
答案為 1/2 + 15*(x-1/3) / 16
請高手指導 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.127.208.96
※ 編輯: yesa315 來自: 140.127.208.96 (10/23 17:23)
※ 編輯: yesa315 來自: 140.127.208.96 (10/23 17:25)