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

📄 loctime.m

📁 小波变换工具箱
💻 M
字号:
function [tm,T]=loctime(sig);%LOCTIME Time localization caracteristics.%	[TM,T]=LOCTIME(SIG) computes the time localization%	caracteristics of signal SIG. % %	SIG is the signal.%	TM  is the averaged time center.%	T   is the time spreading.%%	Example :%	 z=amgauss(160,80,50); [tm,T]=loctime(z)%%	See also LOCFREQ.%	F. Auger, July 1995.%	Copyright (c) 1996 by CNRS (France).%%	------------------- CONFIDENTIAL PROGRAM -------------------- %	This program can not be used without the authorization of its%	author(s). For any comment or bug report, please send e-mail to %	f.auger@ieee.org [sigr,sigc]=size(sig);if (sigc~=1), error('The signal must have 1 column');else sig2=abs(sig).^2; sig2=sig2/mean(sig2); t=(1:sigr)'; tm=mean(t.*sig2); T=2*sqrt(pi*mean((t-tm).^2 .* sig2)); end;

⌨️ 快捷键说明

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