How to turn a discrete to a continuous using t

1 view (last 30 days)
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 Comment
Matlaber
Matlaber on 9 Apr 2019
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.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!