当前位置:网站首页>【Lipschitz】基于matlab的Lipschitz李氏指数仿真
【Lipschitz】基于matlab的Lipschitz李氏指数仿真
2022-07-17 04:49:00 【fpga和matlab】
1.软件版本
MATLAB2013b
2.系统概述
李氏指数(Lipschitz exponent),以德国数学家Rudolf Lipschitz命名,是一个描述比一般的连续可微更强的光滑性指数。具有一定条件的连续性称为李氏连续性。李氏指数α可用于描述信号的奇异性。一般来说,α越大,信号在该点就越光滑;α越小,则信号在该点的奇异性就越大。李氏指数是一个专用于描述函数光滑性的指数。一个函数如果存在无限次可导就称为光滑或没有奇异性,但它如果在某处有间断点或某阶导数不连续,通常叫做函数的奇异性,信号的奇异性通常用李氏指数来刻画。它与小波变换有着密切的关系,由小波变换描述信号奇异性的特点,我们不难得出,李氏指数也有描述奇异信号这一功能。李氏指数检测信号奇异性的结果简单明了,便于观察,具有很大的现实意义。


3.部分matlab程序
clc;
clear;
close all;
warning off;
addpath 'func\'
%%
%参数初始化
Len = 2048;%信号的长度
Noise_Power = 0.5; %产生的测试的干扰大小
select = 2; %选择信号
%%
%产生模拟的故障信号
[s_normal,s_error] = func_sig_gen(Len,Noise_Power);
figure;
subplot(211);plot(s_normal);title('正常信号');
subplot(212);plot(s_error);title('故障信号');
%%
%计算李氏指数
if select == 1
signal = s_normal;
end
if select == 2
signal = s_error;
end
%多个尺度小波变换
Ss = 1;
Ls = 32;
wt = CWT(signal,Ss:Ls,'gaus2');
%模极大点
Max_Pos = func_WMMT(wt,10);
%将小波变化后的每一级的对应的最大值相连
[Max_List,Ptr,Lengths] = func_find_Max_nlevel(Max_Pos,10);
%画出模极大曲线
figure;
for k=1:length(Ptr)
vec = Max_List(:,Ptr(k):Ptr(k) + Lengths(k)-1);
plot(vec(2,:),log2(vec(1,:)));
hold on;
end
axis([0,Len,0,6]);
xlabel('u');
ylabel('log2');
%计算Lipschitz指数
Lipschitz = func_cal_Lipschitz(Ptr,Max_List,wt,Lengths);
figure;
plot(Lipschitz,'r');
%%
%根据李氏指数的计算结果对故障信号检测
cnt = 0;
PP = [];
for i = 1:length(Lipschitz)
if abs(Lipschitz(i)) >= 4
cnt = cnt + 1;
PP(cnt) = i;
end
end
if isempty(PP) == 0
START = min(PP);
ENDS = max(PP);
figure;
plot(signal);title('故障检测');
hold on
plot(14*START,-10:0.1:10,'r');
hold on
plot(Len,-10:0.1:10,'r');
else
figure;
plot(signal);title('无故障');
end4.部分仿真结论

首先加载数据:

然后计算李氏指数:

根据李氏指数进行故障检测分析:

A16-17
边栏推荐
- AutoJs学习-2048小游戏自动化
- 【TA-霜狼_may-《百人计划》】图形2.5 Bump Mapping
- Wildfly: how to call EJBs from EJBs located in another application
- N-Beats模型于2020年发布,并且优于M4比赛的获胜者3%!
- 'ionic' is not an internal or external command, nor is it a runnable program or batch file.
- Apache22与opencms9.5集成配置
- [TA frost wolf \u may- hundred people plan] Introduction to basic rendering lighting (I)
- 基于JIRA7.9.2定制修改
- [vuforia] simple logic of image recognition
- 删除快照出现:删除快照时出错: 字典问题
猜你喜欢

T + 0 to t + 1! The quick redemption amount is reduced to 10000! Another bank adjusted the rules for the application and redemption of cash wealth management products

Sphinx遇到的问题

Usage scenarios and usage of judgment and rounding down in MySQL

surging作者出具压测结果

MySQL InnoDB transaction related records
![[unity] interactive double click](/img/28/8c9c3dd9de413ff8e6373ea111b04f.png)
[unity] interactive double click

Project structure of wechat applet

使用小丸工具箱进行极限视频压缩
![[Unity] Input.gettouch[index]的index](/img/9d/ec0e4c9e6b1bb25976357469fe037f.png)
[Unity] Input.gettouch[index]的index

Extreme video compression using the pellet toolbox
随机推荐
智能硬件语音控制的时频图分类挑战赛2.0(思路以及结果,目前top5)
Rk1126 realizes picture in picture function picture in picture for rk 1126
探索:制药厂系统网络时钟同步(NTP时间同步服务器)
PHP array_filter去空保留0,false
Distributed notes (02) - redis of distributed cache (brief description of uses, features, high availability solutions redis cluster, tweetproxy, CODIS)
数据库学习笔记(一)检索数据
Eureka,拿捏日千万级访问量妥妥的!
Autojs learning - realize blissful pure land
On the third day of security, iptables prevents nmap scanning and binlog
CKS 核心知识点概述
[TA frost wolf _may - "hundred people plan"] art 2.1 DCC tool chain and engine tool chain
Overview of Baidu map technology, and application development of basic API and webapi
README. MD add directory
Gin框架原理
Problems encountered by Sphinx
使用kaggle跑李宏毅机器学习作业
Project structure of wechat applet
As a result, all system modifications of the company will be upgraded
Efficient insertion of references in word with thousands of words and many pictures
Phthon3 install mysqldb error problem solving reason: image not found