How to turn a discrete to a continuous using t

조회 수: 1 (최근 30일)
Matlaber
Matlaber 2019년 4월 9일
댓글: Matlaber 2019년 4월 9일
I want to turn a discrete value to a continous using a t as time.
(I also not sure what i asking is correct)
Basically, I want my "y" in continous time
for i=0:1000 %here we are generating the modulated wave
if m(i+1)==0
y(i+1)=c2(i+1);
else
y(i+1)=c1(i+1);
end
end
y = mm
  댓글 수: 1
Matlaber
Matlaber 2019년 4월 9일
Or I want to add in "t" for this below
[B, A] = butter(1,0.04, 'low'); % Low Pass Filtered (Low Order)
y = filter(B,A,y);
change to some kind of:
y = ca .* sin(2*pi*t);
Thanks.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by