当前位置: 首页 > news >正文

MATLAB——一维小波的多层分解

%%  学习目标:一维小波的多层分解
clear all;
close all;
load noissin.mat;
x=noissin;
[C,L]=wavedec(x,3,'db4');   %             3层分解,使用db4小波
[cd1,cd2,cd3]=detcoef(C,L,[1,2,3]);    % 使用detcoef函数获取细节系数
ca3=appcoef(C,L,'db4',3);    %            使用appcoef函数获取近似系数
figure;
subplot(511);
plot(x);
ylabel('x');
subplot(512);
plot(1:L(1),ca3);
ylabel('ca3');
subplot(513);
plot(1:L(2),cd3);
ylabel('cd3');
subplot(514);
plot(1:L(3),cd2);
ylabel('cd2');
subplot(515);
plot(1:L(4),cd1);
ylabel('cd1');
set(gcf,'position',[30,30,600,500]);

http://www.lryc.cn/news/212951.html

相关文章:

  • C++的拷贝构造函数
  • 【手机端远程连接服务器】安装和配置cpolar+JuiceSSH:实现手机端远程连接服务器
  • Jupyter Notebook的使用
  • vue 使用vue-office预览word、excel,pdf同理
  • 【Spring Boot 源码学习】RedisAutoConfiguration 详解
  • Linux中如何进行粘贴复制
  • 多输入多输出 | Matlab实现k-means-LSTM(k均值聚类结合长短期记忆神经网络)多输入多输出组合预测
  • 学习笔记3——JVM基础知识
  • 图像处理:图片二值化学习,以及代码中如何实现
  • 如果你点击RabbitMQ Service - start了,但http://localhost:15672/#/还是访问不了,那么请看这篇博客!
  • Shell 脚本学习 day01
  • esp32 rust linux
  • 一文了解Elasticsearch
  • 一篇文章认识【性能测试】
  • linux环境mysql安装配置踩坑
  • 相关性网络图 | 热图中添加显著性
  • cocosCreator 之 微信小游戏授权设置和调用wxAPI获取用户信息
  • element ui el-table表格纵向横向滚动条去除并隐藏空白占位列
  • 防止python进程重复执行
  • LV.12 D13 C工程与寄存器封装 学习笔记
  • Java SE 学习笔记(十九)—— XML、设计模式
  • grafana InfluxDB returned error: error reading influxDB 400错误解决
  • 【LeetCode:150. 逆波兰表达式求值 | 栈】
  • 什么是神经网络,它的原理是啥?(2)
  • leetcode做题笔记206. 反转链表
  • 2023/10/31 JAVA学习
  • SurfaceFliger绘制流程
  • 系统架构设计师-第14章-云原生架构设计理论与实践-
  • conda 实践
  • 行业追踪,2023-10-31