Hello how can I repeat this signal ten times periodically .How to use repmat in this case

2 views (last 30 days)
q=inline(['mod(t,1)*1.*(mod(t,1)<1/3) +', '((mod(t,1)*-1+1).*((mod(t,1)>=1/3) & (mod(t,1)<2/3)) +','((mod(t,2)*2-2).*((mod(t,1)>=2/3) & (mod(t,1)<1))))'],'t');
t=0:.001:1;
q
plot(t,q(t))

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!