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 Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by