資源簡介
相空間重構(gòu) matlab 代碼
代碼片段和文件信息
function?[xndn]?=?PhaSpaRecon(staum)
%?混沌序列的相空間重構(gòu)?(phase?space?reconstruction)
%?[xn?dn?xn_cols]?=?PhaSpaRecon(s?tau?m)
%?輸入?yún)?shù):????s??????????混沌序列(列向量)
%???????????????tau????????重構(gòu)時(shí)延
%???????????????m??????????重構(gòu)維數(shù)
%?輸出參數(shù):????xn?????????相空間中的點(diǎn)序列(每一列為一個(gè)點(diǎn))
%???????????????dn?????????一步預(yù)測的目標(biāo)(行向量)
[rowscols]?=?size(s);
if?(rows>cols)
????len?=?rows;
????s?=?s‘;
else
????len?=?cols;
end
if?(nargout==2)
????
????if?(len-1-(m-1)*tau?1)
????????disp(‘err:?delay?time?or?the?embedding?dimension?is?too?large!‘)
????????xn?=?[];
?????
評論
共有 條評論