求解一個題目
y[n]=0.5x[n]+0.3x[n-1]+0.2x[n-2],
where y and x are both 1-D arrays with
1000 double precision floating elements and
x[-2]=x[-1]=0.
What is the maximum difference between the computed y[n] and
it's real value result
使用C設計解問題
請問板上前備這題該如何解析,不是很清楚它的題意。
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 182.234.206.51
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1544446875.A.C04.html
→
12/10 21:28,
5年前
, 1F
12/10 21:28, 1F
→
12/10 21:44,
5年前
, 2F
12/10 21:44, 2F
→
12/11 00:25,
5年前
, 3F
12/11 00:25, 3F
→
12/11 00:28,
5年前
, 4F
12/11 00:28, 4F
→
12/11 14:58,
5年前
, 5F
12/11 14:58, 5F