当前位置:网站首页>matlab 使用 resample 完成重采样
matlab 使用 resample 完成重采样
2022-07-02 01:25:00 【胡刚2016】
fs1=10;
t1=0: 1/fs1 : 1;
x=t1;
y=resample(x, 3, 2);%重采样后的信号为原信号元素数量的3/2倍,也就是说在原来的信号中插入0.5倍数量的元素
t2=(0: (length(y) - 1)) *2/(3 * fs1);
plot(t1, x, '*', t2, y, 'o', -0.5:0.01:1.5, -0.5:0.01:1.5, ':');
legend('original', 'resampled');
xlabel('Time');

可以看出重采样的信号,并不是完全正确的插值,有些插入的值偏离了直线。
边栏推荐
- Basic usage of shell script
- 游戏思考15:全区全服和分区分服的思考
- Hcip day 14 (MPLS protocol)
- Luogu p1775 stone merger (weakened version)
- A problem about function template specialization
- Introduction to ffmpeg Lib
- [Maya] the error of importing Maya into Metahuman
- SQL injection for Web Security (2)
- Global and Chinese markets of beverage seasoning systems 2022-2028: Research Report on technology, participants, trends, market size and share
- 机器学习基本概念
猜你喜欢

6-3 vulnerability exploitation SSH environment construction

6-2漏洞利用-ftp不可避免的问题

GL Studio 5 安装与体验
![[IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me](/img/b8/31a498c89cf96567640677e859df4e.jpg)
[IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me

Convolutional neural network (including code and corresponding diagram)

微信小程序中使用tabBar
![[IVX junior engineer training course 10 papers] 02 numerical binding and adaptive website production](/img/b7/aecb815ca9545981563a1e16cfa19e.jpg)
[IVX junior engineer training course 10 papers] 02 numerical binding and adaptive website production
![[IVX junior engineer training course 10 papers] 05 canvas and aircraft war game production](/img/dc/e9adb1b41c2175c6f18d8027e0530a.jpg)
[IVX junior engineer training course 10 papers] 05 canvas and aircraft war game production

Réseau neuronal convolutif (y compris le Code et l'illustration correspondante)

LeetCode、3无重复最长子序列
随机推荐
Finally got byte offer, 25-year-old inexperienced experience in software testing, to share with you
ECS project deployment
Tencent cloud techo youth dream campus trip into Wuhan University
Circular statements in shell programming
只是以消费互联网的方式和方法来落地和实践产业互联网,并不能够带来长久的发展
Exclusive delivery of secret script move disassembly (the first time)
站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
No converter found for return value of type: class
Comprehensive broadcast of global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
MySQL application day02
The technology boss is ready, and the topic of position C is up to you
Learn about servlets
Docker installing Oracle_ 11g
[IVX junior engineer training course 10 papers] 06 database and services
ES6 new method of string
[dynamic planning] interval dp:p3205 Chorus
Ubuntu20.04 PostgreSQL 14 installation configuration record
Basic number theory -- Gauss elimination
Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share