当前位置:网站首页>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');

可以看出重采样的信号,并不是完全正确的插值,有些插入的值偏离了直线。
边栏推荐
- [Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility
- Finally got byte offer, 25-year-old inexperienced experience in software testing, to share with you
- MySQL application day02
- 学习笔记24--多传感器后融合技术
- Edge extraction edges based on Halcon learning_ image. Hdev routine
- Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share
- Datawhale community blackboard newspaper (issue 1)
- 游戏思考15:全区全服和分区分服的思考
- II Basic structure of radio energy transmission system
- GL Studio 5 installation and experience
猜你喜欢
![[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games](/img/69/44219af52baef20cedec3870147589.jpg)
[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games

Introduction to ffmpeg Lib
![[image enhancement] vascular image enhancement based on frangi filter with matlab code](/img/b3/b4164fb7db8645f470180e352b5717.png)
[image enhancement] vascular image enhancement based on frangi filter with matlab code

电商系统中常见的9大坑,你踩过没?

【疾病检测】基于BP神经网络实现肺癌检测系统含GUI界面

遊戲思考15:全區全服和分區分服的思考

学习笔记25--多传感器前融合技术
![[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface](/img/c9/3fe8693629a8452dcfdb4349ddee0d.png)
[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface

What are the affordable Bluetooth headsets? Student party parity Bluetooth headset recommendation
![[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
随机推荐
Look at the industrial Internet from a new perspective and seek the correct ways and methods of industrial Internet
Global and Chinese markets for the application of artificial intelligence in security, public security and national security 2022-2028: Research Report on technology, participants, trends, market size
It's already 30. Can you learn programming from scratch?
Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
A problem about function template specialization
SQL injection for Web Security (2)
Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
What are the affordable Bluetooth headsets? Student party parity Bluetooth headset recommendation
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
LeetCode、3无重复最长子序列
[Chongqing Guangdong education] Tianshui Normal University universe exploration reference
CTF daily question day45 sensor
游戏思考15:全区全服和分区分服的思考
技术大佬准备就绪,话题C位由你决定
[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games
Bubble Sort Graph
[Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility
【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
Learning note 24 - multi sensor post fusion technology
Datawhale 社区黑板报(第1期)