plot_abs_error.m

来自「best routing protocol」· M 代码 · 共 14 行

M
14
字号
function plot_abs_error(estimate, real, color)if length(real)==0  plot_cumu_matrix(estimate, color);  returnendmaxvalue = 99999999;real(find(real==Inf))=maxvalue;estimate(find(estimate==Inf))=maxvalue;rerr=abs(estimate-real);plot_cumu_matrix(rerr, color);%xlim([0 300]);%xlim([-1 1]);hold on

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?