📄 resample.m
字号:
function y = resample(x,fs)% Y = RESAMPLE(X,FS) Change the sampling rate of a signal.%% This differs from the original resample in that only one% argument, which is the new sampling rate of a signal, is given.% $Id: resample.m 103 2006-02-07 10:24:32Z bassus $oldfs = x.time.fs;if fs<1 oldfs = oldfs/fs; fs=1;endy_ = resample(x.s,fs,oldfs);y = signal(y_,time(x.time.begin,length(y_),fs));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -