How to bring signals of uneven sizes to the same size?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have 3 signals, size(x)=15001 size(y)=7500 size(z)=3751
and how to bring the sizes of all these three signals to 15000?
댓글 수: 1
채택된 답변
추가 답변 (1개)
Walter Roberson
2013년 4월 21일
newx = interp1(linspace(0,1,length(x)), x, linspace(0,1,15000));
newy = interp1(linspace(0,1,length(y)), y, linspace(0,1,15000));
newz = interp1(linspace(0,1,length(z)), z, linspace(0,1,15000));
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!