I have a question about MEX files document in BCI2000 wiki
in the function of mem.
[spectrum, frequencies] = mem(signal, parms);
I don't know how is the form of input parms.
I have tried many forms of parms but error massage is occurred.
for example,
parms = [parameters.ModelOrder.NumericValue, parameters.FirstBinCenter.NumericValue,parameters.LastBinCenter.NumericValue,parameters.BinWidth.NumericValue,parameters.EvaluationsPerBin.NumericValue];
[spectrum, frequency]=mem(signal, parms);
error message is this
??? Error using ==> mem
Expected real double input signal -- The mem command estimates a power spectrum
using Burg's MEM algorithm.
The calling syntax is:
[spectrum, frequencies] = mem(signal, parms)
with <signal> and <spectrum> having dimensions values x channels, and
with <parms> being a vector of parameter values:
model order,
first bin center,
last bin center,
bin width,
evaluations per bin,
detrend option (optional, 0: none, 1: mean, 2: linear; defaults to none),
frequency (optional, defaults to 1)
Error in ==> test at 26[spectrum, frequency]=mem(signal, parms);
please give me a reply
thank you
Young Hak Shin
