Sample Entropy
This short code calculates the sample entropy (SampEn) of a given time series data.
Author: Kijoon Lee
May I know what is the first argument dim in the function? I want to pass on-channel EEG signal 500 samples (with sampling frequency 128 Hz) to the program to calculate entropy? Also please advice me how to use 'r'?
I could accomplish connection between C# and matlab through "deploytoool" in matlab. we have to build .dll file using that in matlab and can call it from C#
I am using Matlab 2010b and visual C# 2010 express. I could run the the build_mcode.m to generate .dll files. But when I start running C#, it shows dotnet is "Error 1 The type or namespace name 'dotnet' could not be found (are you missing a using directive or an assembly reference?) D:\KAVITHA\Kavitha_Workspace\GameProgrammingC#\CSharp_MATLAB\VSProj\Program.cs 12 7 CSharp_MATLAB"
Could any one please help me?
I have to run a matlab file through a C#(XNA game) interface. My matlab file is in turn using a dll library as it is fetching real time data from a hardware device. The matlab file does some filtering and then outputs an integer. Can I use .NET assembly method mentioned here for my matlab file?? Any suggestions on which method is best for this file?
Comment only