From: Ben on
Hello,

I have different signals witch, I would like to compare.
The signals have roughly the same shape, but a different distribution. I want to plot the signals above each other. All peaks should be aligned with the peaks of the other graphs as good as possible.

If I have managed this, I must be able to calculate the variation between the signals.

Does anybody know how to plot signals with roughly the same shape above each other?

Thanks in advance.

* Plotting graphs above each other has done here:
http://www.team-integra.net/images/BAEC1978-D3A7-4405-AB2D-2761DC15A96D/articles/tuan/misc/acceleration.jpg
That is kind of what I want.
From: Wayne King on
Ben <benvoeveren(a)gmail.com> wrote in message <161909948.352726.1276677442635.JavaMail.root(a)gallium.mathforum.org>...
> Hello,
>
> I have different signals witch, I would like to compare.
> The signals have roughly the same shape, but a different distribution. I want to plot the signals above each other. All peaks should be aligned with the peaks of the other graphs as good as possible.
>
> If I have managed this, I must be able to calculate the variation between the signals.
>
> Does anybody know how to plot signals with roughly the same shape above each other?
>
> Thanks in advance.
>
> * Plotting graphs above each other has done here:
> http://www.team-integra.net/images/BAEC1978-D3A7-4405-AB2D-2761DC15A96D/articles/tuan/misc/acceleration.jpg
> That is kind of what I want.

Hi Ben, If you aren't concerned about the value of the dependent variable (y-value), then how about just adding constants to one of the functions?

x = cos(2*pi*(1/10)*(0:99)');
x1 = 0.3+x;
plot([x x1]);

Wayne