286 Chapter 6. Function Reference
Example
time1 = [0:0.025:1]
pdm1 = gsin(time1, {frequency=2})
time2 = [0.8:0.02:1.5]
pdm2 = randpdm([],1,1, { dom=time2,zeromean})
outpdm = mergeseg(pdm1,pdm2)
gph1 = ctrlplot(outpdm);
gph1 = plot(pdm1,gph1, { marker=1,marker
style=8,...
line=0});
gph1 = plot(pdm2,gph1, { marker=1,marker
style=1,...
line=0,legend=["outpdm";"pdm1";"pdm2"]})?