Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有了向量x,我必须计算它的收敛速度,为此它只是返回一个值向量,根据x长度显示后续系列的迭代 -
x
计算它的最简单方法是什么?
要获得问题中指定值的向量,只需执行以下操作:
r = abs(diff(x(2:end)) ./ diff(x(1:end - 1)) .^ p);