|
相空间重构之后如何画相图?附有重构程序
function [Y,T]=phasespace(x,m,t)
%Syntax: [Y,T]=phasespace(x,dim,tau)
% The phase space reconstruction of a time series x whith the Method Of Delays
% (MOD), in embedding dimension m and for time dalay tau.
% Y : trajectory matrix in the reconstructed phase space.
% T : phase space length.
% x : time series.
% m : embedding dimension.
% t : time delay.
% Air Force Engineering University
% Air Force Engineering Institute
% Dept.1, Shaan Xi, Xi'an 710038, PR China.
% Email:xunkai_wei@163.com
x=load('C:\Documents and Settings\Administrator\桌面\lvbo.txt');
m=8;t=5;
N=length(x);
T=N-(m-1)*t;
% Initialize the phase space
Y=zeros(T,m);
% Phase space reconstruction with MOD
for i=1:T
Y(i,:)=x(i+(0:m-1)*t)';
end |
评分
-
1
查看全部评分
-
|