Borrar filtros
Borrar filtros

How can I create a plot which is x and y axsis are in different sizes?

1 visualización (últimos 30 días)
noy
noy el 15 de Ag. de 2014
Respondida: Star Strider el 15 de Ag. de 2014
Hi, I have I think a very basic question..
I need to plot on the same graph two different data sets, one in a sampling rate of 500hz and the other one in 609 hz... and they need to be synchronized in relation to time.
the problem is that when I try to convert it to seconds I getting an unequal x and y sizes...
How can I do it?
Thanks!

Respuestas (1)

Star Strider
Star Strider el 15 de Ag. de 2014
If you have the Signal Processing Toolbox, I would use the resample function to downsample the 609 Hz signal to 500 Hz, then plot them. If you don’t have resample, use interp1.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by