当前位置:网站首页>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');
可以看出重采样的信号,并不是完全正确的插值,有些插入的值偏离了直线。
边栏推荐
- Data visualization in medical and healthcare applications
- Design and implementation of radio energy transmission system
- 只是以消费互联网的方式和方法来落地和实践产业互联网,并不能够带来长久的发展
- Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
- 学习笔记3--高精度地图关键技术(上)
- 学习笔记25--多传感器前融合技术
- Since I understand the idea of dynamic planning, I have opened the door to a new world
- Modeling essays series 124 a simple coding method
- [dynamic planning] interval dp:p3205 Chorus
- Global and Chinese market of collaborative applications 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
Learning note 24 - multi sensor post fusion technology
[image enhancement] vascular image enhancement based on frangi filter with matlab code
Learning notes 25 - multi sensor front fusion technology
Liteos learning - first knowledge of development environment
GL Studio 5 installation and experience
[rust web rokcet Series 1] Hello, world and get, post, put, delete
969 interlaced string
Study note 2 -- definition and value of high-precision map
GL Studio 5 安装与体验
随机推荐
ES6 new method of string
Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share
Since I understand the idea of dynamic planning, I have opened the door to a new world
Have you stepped on the nine common pits in the e-commerce system?
Global and Chinese markets for food allergens and intolerance tests 2022-2028: Research Report on technology, participants, trends, market size and share
uTools
969 interlaced string
[rust web rokcet Series 1] Hello, world and get, post, put, delete
MySQL winter vacation self-study 2022 12 (4)
[Chongqing Guangdong education] Tianshui Normal University universe exploration reference
现货黄金分析的技巧有什么呢?
Basic concepts of machine learning
Learning notes 25 - multi sensor front fusion technology
[IVX junior engineer training course 10 papers] 06 database and services
[Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility
首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
Design and implementation of radio energy transmission system
No converter found for return value of type: class
Appium inspector can directly locate the WebView page. Does anyone know the principle
NeRV: Neural Reflectance and Visibility Fields for Relighting and View Synthesis