rgpo.m
来自「信号与信息处理-matlab信号处理工具箱源程序集合」· M 代码 · 共 29 行
M
29 行
function rgpoMatrix=rgpo(t,dr)% RGPO Returns a rgpo matrix and performs a rgpo plot% % rgpoMatrix=rgpo(t,dr)% % rgpoMatrix = matrix of t and dr% t = time % dr = offset of false target from real target% % Aim: Provide a matrix (to act as rgpo object) so further rgpo% operations can be performed.% % Technical Background:% % Author: Jason Moyle% Date: May 2008% Check length of both inputs% (maybe put a check here to orientate the maticies correctly)if size(t)~=size(dr) disp('When using rgpo(t,dr), size of matrix t must be the same as'... ,'matrix dr')endtt=linspace(t(1),t(end),1000);plot(tt,getrgpo(tt,[t; dr]))title('VGPO')xlabel('Time')ylabel('Apparent Speed Increase')rgpoMatrix=[t; dr];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?