segment of large data .mat file of 2 hr in 5 minute .mat files

조회 수: 2 (최근 30일)
jaypal singh
jaypal singh 2019년 2월 14일
답변: KSSV 2019년 2월 14일
Dear all
I have a .mat file of 2hr and i have to sgement the file in 5 minutes of .mat file
the detail of file is attached

채택된 답변

KSSV
KSSV 2019년 2월 14일
S = load('01911m.mat') ;
val = S.val ;
n = length(val) ;
t = linspace(1,2*60,n) ;
% get for every five mins
ti = 1:round(n/120)*5:n ;
You have the indices of time in ti...you can get what you want now.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by