⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 morlet_cos_yueqin_st.m

📁 基于morlet小波的最小二乘匹配追踪算法
💻 M
字号:
function [out1,out2]=morlet_cos_yueqin_st(LB,UB,N,f,t0,k)
%MORLET Morlet wavelet.
%   [PSI,X] = MORLET(LB,UB,N) returns values of 
%   the Morlet wavelet on an N point regular grid 
%   in the interval [LB,UB].
%   Output arguments are the wavelet function PSI
%   computed on the grid X, and the grid X.
%
%   This wavelet has [-4 4] as effective support.
%
%   See also WAVEINFO.

%   M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 12-Mar-96.
%   Last Revision: 14-May-2003.
%   Copyright 1995-2004 The MathWorks, Inc.
% $Revision: 1.12.4.2 $

% Compute values of the Morlet wavelet.
out2 = linspace(LB,UB,N);        % wavelet support.
out1 = exp(-((out2-t0).^2)*(f^2)*log(2)/k) .* cos(2*pi*f*(out2-t0));

⌨️ 快捷键说明

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