eventplot.m

来自「模拟退火算法实现」· M 代码 · 共 25 行

M
25
字号
function h = eventplot(X)
% h = eventplot(X)
% Method for seismicdecon example supplied with SA Tools.
% See http://www.frostconcepts.com/software for information on SA Tools.
%
%   h = eventplot(X) ;
%
%   X = {K L t f g}
%       K = length of alpha, tau vectors
%       L = length of source and detected signals
%       t = time vector
%       f = source signal
%       g = detected signal
%   h = handle to plot
%
%   plots time series associated with problem
%
t = X{3} ;
f = X{4} ;
g = X{5} ;
h = plot(t,f,'b') ;
hold on ;
plot(t,g,'r') ;
hold off ;

⌨️ 快捷键说明

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