How to construct array with certain slope ?
6 views (last 30 days)
I have a signal :
Signal = [ 0,10, 0, 10, 0, 10, -50, -10,-50,-10,-50, 30, 20, 30, 20] ;
Signal is y-axis values and i want to define x-axes values based on slope of incline and decline.
incline & decline slope to be 10%.
I would like to first scale the x-axes then interpolate 10 points in between them.
I want to plot such that its incline and declipne slope is 10 or any other user defined value ?
Can you please support in getting that slope part in signal ?