求解一个题目

楼主: momoko0581 (桃子)   2018-12-10 21:01:13
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设计解问题
请问板上前备这题该如何解析,不是很清楚它的题意。
作者: djshen (djshen)   2018-12-10 21:28:00
"double precision floating elements"
楼主: momoko0581 (桃子)   2018-12-10 21:44:00
抱歉 少打了^point
作者: gozule (好冷啊~~)   2018-12-11 00:25:00
题目问理论值和实际计算值的最大误差,和浮点数误差有关递回关系式离散数学课本有教公式解,和计算解比较一下即可
楼主: momoko0581 (桃子)   2018-12-11 14:58:00
感谢g大

Links booklink

Contact Us: admin [ a t ] ucptt.com