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

2 次查看(过去 30 天)
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))

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by