Question about plotting envelope of discrete signals

2 次查看(过去 30 天)
Hello there,
I used stem to generate a discrete und non-uniform sampled signals. The x-axis is time: 1,10,30,80,120 (days), and the y-axis is the parameter of a product. The y-values come from a datasheet and therefore is not a function of x.
I tried to plot an envelope of discrete y sequence using interp1, interp, envelope but couldn't make it. It seems that all of these MatLab functions require a function relationship between x and y? So how can I solve this problem, any ideas?
Thank you!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by