Mat files with different vectors length

조회 수: 1 (최근 30일)
Husnain Ahmed
Husnain Ahmed 2018년 9월 6일
댓글: Husnain Ahmed 2018년 9월 6일
Hi, I have two mat files the size of one mat file is 7741*1 and the other one is 74434*1. Is there any possible way to make them of equal size ?
  댓글 수: 5
Guillaume
Guillaume 2018년 9월 6일
How do you know the timing of each vector? If you don't have that information (or the sampling rate and start time of each) then there's nothing you can do.
Husnain Ahmed
Husnain Ahmed 2018년 9월 6일
Sampling time of one PC is 1e-2 sec and other PC is 1e-3.

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2018년 9월 6일
You need to do interpolation.......Read about interp1.

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by