作者ract1436 (哈啾小虾米)
看板Grad-ProbAsk
标题Re: [理工] [线代]-中兴-96资科所
时间Thu Feb 24 16:33:22 2011
不好意思翻了旧文对答案....
※ 引述《smartlwj (认 真 念 书)》之铭言:
: ※ 引述《gn00618777 (123)》之铭言:
: : 解答独缺96年= =,想跟解过的大大对一下线代部分
: : 7 [3]
: : projection= [4]
: : [4]
: : 8 [1 -2] [1/√2 1/√2] [3 0] [1/√2 -1/√2]
: : [-2 1] = [-1/√2 1/√2] [0 -1] [1/√2 1/√2 ]
: : 9 [2 0 0]
: : [0 0 0]
: : [0 1 0]
: B={x^2,x,1}
: 2
: d x 2
: ---- = 2x = 0x + 2x + 0
: dx
: d x 2
: ---- = 1 = 0x + 0x + 1
: dx
: d 1 2
: --- = 0 = 0x + 0x + 0
: dx
: [0 0 0]
: => [D] = [2 0 0]
: B [0 1 0]
: : 10 不会~"~ 大大教一下~
: 1
: Let V=C([-1,1]) with inner product <f,g>=∫ f(t)g(t)dt
: -1
: and W be the subspace P_2(R).
: let B={1,x,x^2}, use Gram-Schmidt process to get an orthonormal
: basis B'{1/√2, (√3/2)x, (√10/4)(3x^2-1)}, (方便打字 记为 u1 u2 u3)
: x
: then the least squares linear approximation to f(x) = e
: is < f(x),u1>u1 + <f(x),u2>u2 +<f(x),u3>u3 (这边我就没仔细算了)
: : 11 y=-69/50 X+ 42/10 题目有点看不清楚(4,4)还是(4,-4)?
补上11题题目
Find the least squares line for the following data points
(1,1),(2,2.4),(3,3.6),(4,4)
以下是前辈的解法:
: Let A = [1 1] and y = [ 1 ]
: [2 1] [2.4]
: [3 1] [3.6]
: [4 1] [ 4 ]
: t t -1 1
: hence A A = [30 10] thus (A A) = ---- [ 4 -10]
: [10 4] 20 [-10 30]
: 1
: Therefore x = ----[ 4 -10][1 2 3 4][ 1 ] = [1.02]
: 0 20 [-10 30][1 1 1 1][2.4] [0.2 ]
: [3.6]
: [ 4 ]
: it follows that the line y=1.02x + 0.2 is the least square line.
: 刚刚算的不知道有没有算错
: 有错请指正 谢谢
我对於这题有个疑问 我看书上列式是 y = a + bx
那这样A 不是应该等於A = [1 1] 才对吗?
[1 2]
[1 3]
[1 4]
因为我算的跟大家都不一样所以想再问一次我的疑问....
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.136.66.9
1F:推 annheilong:用你的A算出来也是一样的 02/24 22:13
2F:→ annheilong:他是y=ax+b 所以A的顺序不同 02/24 22:14
3F:→ annheilong:另外想请问你有没有中兴的解答? 02/24 22:15
4F:→ ract1436:原来是这样 那我再算看看 02/24 23:32
5F:→ ract1436:我手边只有爬文下载的 96~98 02/24 23:33