What should I do to correct user defined function?
Show older comments
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 Comments
Image Analyst
on 14 Mar 2016
Accepted Answer
More Answers (0)
Categories
Find more on Parametric Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!