How can I create a plot which is x and y axsis are in different sizes?
조회 수: 1 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
Star Strider
2014년 8월 15일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!