필터 지우기
필터 지우기

im making a matlab code for average of 10 secs. in this code there are n instances in between 10 secs. i dont know how to do repeted calculation for full length of signal.

조회 수: 1 (최근 30일)
sampling rate is 250hz i want a code which calculates average of instances in first 10 secs. and then for next 10 secs. and so on.. this process continues for full length of signal

답변 (1개)

Azy Craze
Azy Craze 2012년 12월 5일
You can calculate time by
time = 0:1/fs:(length(signal)-1)*1/fs;

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by