What should I do to correct user defined function?
Afficher commentaires plus anciens
I have written code for function file i.e nsr_f.m
Getting following error when calling it:
Error using arburg (line 72)
The number of rows of X must at least 5.
Error in nsr_f (line 33)
[d1,p1,rc] = arburg(seg,4);
Error in feature_matching (line 3)
nsr_f(fs,Ekg,Gain)
Code to call function:
Gain = 200; fs=128;
d = load('PhysioNet_Database\NSR\16272m.mat'); Ekg = d.val(1,:);
nsr_f(fs,Ekg,Gain)
2 commentaires
Image Analyst
le 14 Mar 2016
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Parametric Modeling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!