필터 지우기
필터 지우기

How to do this in MATLAB

조회 수: 3 (최근 30일)
Saed
Saed 2013년 3월 24일
Hello,
I have a block of N binary phase shift keying (BPSK) symbols, each symbol with time Ts. How can I convert this block into continuous time domain? Is the following segment correct:
if true
t= 1:Ts:N*Ts;
x=2.*(randn(1,N)>0.5)-1;
xt=interp1(t,xCP,t,'linear');
end
Thanks

답변 (1개)

Jan
Jan 2013년 3월 25일
It is hard to guess. You create "x", but use "xCP". You interpolate the values of xCP at the points "t", while the original values are available at the same points "t". Therefore the interpolation is equivalent to:
xt = xCP;
Is this your intention?

카테고리

Help CenterFile Exchange에서 PHY Components에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by