Error using optmize (line 9) Data length must be larger than 195 samples.

조회 수: 1 (최근 30일)
afef
afef 2017년 4월 11일
편집: afef 2017년 4월 11일
Hi, i try to optimize my Matlab code so i have written this code
clc;
clear all;
close all;
load('C:\Users\del.dell-PC\pfe\base de donnée\patient sans
crise\chb01_01_edfm.mat')
deriv=val()/2.559375;
Fs=256;
t=(0:length(deriv)-1)/Fs;
d=designfilt('lowpassfir','PassbandFrequency',0.45,'StopbandFrequency',0.5,'Passba
ndRipple',3,'StopbandAttenuation',60,'DesignMethod','equiripple');
a=filtfilt(d,deriv);
But i got this error message " Error using optmize (line 9) Data length must be larger than 195 samples." How could i fix this?

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by