Received signal not on sampling time

2 ビュー (過去 30 日間)
S. David
S. David 2014 年 4 月 24 日
コメント済み: S. David 2014 年 6 月 4 日
Hello all,
I have a sequence d of length N samples each of duration Ts. The channel I have will scale the received samples by a factor (1+a), which means that the received samples will not be on multiples of Ts but on multiples of Ts*(1+a). How can I capture this effect in MATLAB?
Thanks in advance

採用された回答

Star Strider
Star Strider 2014 年 4 月 24 日
I’m not certain I completely understand what you want to do, but the Signal Processing Toolbox function resample may work.
  54 件のコメント
Star Strider
Star Strider 2014 年 6 月 4 日
If z is relatively long, there may not be much difference from lengthening or shortening tNew by one element. The key is the result: the lengths are equal.
S. David
S. David 2014 年 6 月 4 日
I agree.

サインインしてコメントする。

その他の回答 (1 件)

rifat
rifat 2014 年 4 月 28 日
I think the following script should do the work:
signal_vector= [1 1 1 1 1]; % Define your signal here
Ts=1/50; % Define sampling period here
a=1; % define 'a' here
N=length(signal_vector);
x=0:Ts:(N-1)*Ts;
new_x=0:(1+a)*Ts:(N-1)*(1+a)*Ts;
new_signal=interp1(x,signal_vector,new_x,'cubic'); % change the algorithm flag to
% 'pchip' or 'spline' if
% you need
  11 件のコメント
John D'Errico
John D'Errico 2014 年 5 月 12 日
Note: I once did an analysis where I showed that IF you have noise in the process, so you are interpolating a combination of noise PLUS signal, then linear is often a better answer, depending on the signal to noise ratio. Cubic interpolation on the noise component has a higher variance than does linear.
S. David
S. David 2014 年 5 月 12 日
No, I am adding the noise after interpolation. So, in this case, 'cubic' works fine I guess. But I am not sure how accurate the whole interpolation process.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMatched Filter and Ambiguity Function についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by