Code examples

Live digital donation signature wall (source code included)

I was recently involved in an non-profit related event, where guests could participate in a lottery and win prices. To make the event more interesting, when someone either digitally or physically donated money, their name would appear/update on a large TV-screen. If they had already donated money, their name would …

General

PhD defended – moving on

The 31st of August, I finally got to defend my PhD thesis on vital signs monitoring for critically ill patients. Here are my main points which may help someone else out there decide whether they should go for the degree. You define the difficulty level of all technical challenges you will …

General

EMBC South Korea + vacation

Each PhD candidate at Technical University of Denmark (DTU) is advised to aim for writing six peer-reviewed articles during their employment. Three of these are conference contributions. I was fortunate that my conference locations turned out to be Osaka, Japan… Orlando, USA,  and finally Jeju Island, South Korea. At this …

General

BCI related national TV appearance

I was contacted last year by Birger Bergmann Jeppesen who has been living with the neurodegenerative disease ALS for 20 years. The disease causes a person to lose control over all muscle functions, eventually leading to complete paralysis and preventing the person from communicating with surroundings. Birger’s ALS has reached …

Code examples

Reading XML files in matlab

Reading XML files in MATLAB has yet to become user friendly as it already is in other object-oriented programming languages. The most confusing thing is that objects appear to be empty or NULL when you access variables in MATLAB. So I decided to put up a simple code example that …

Projects

Visualizing patient journals and EMBC 2016 in Orlando

Due to a sickness I was unable to participate at conferences last year, but after a full recovery, I was at EMBC in Orlando, Florida (USA), and I participated with my first PhD-related project. The project presents a data-driven approach to graphically present text-based electronic health records (EHR) of patients, while …

General

When a collaboration goes bad and can’t be terminated

Officially 6 months to go of the PhD, and I have not made a single post about my project on my website. Unfortunately, like many other PhD projects, mine has been revised a dozen times so I have to admit that even I did not know exactly what my project was …

General

Brain-Computer Interfaces outside research facilities

Working with Brain-Computer interfaces (BCI) can be challenging and fun – especially when we make something that works. But are regular consumers ready for using already developed systems, or do we need to do more research? This summer I received funding from my university to investigate the field further – to …

General

EMBC 2014 – Project on video surveillence of epilepsy patients

This year I participated in the annual conference of the IEEE Engineering in Medicine and Biology Society (EMBC 2014) with a poster presentation of a project that I am very fond of even though my contribution to it was small. I was hoping to present two papers, but my most …

Code examples

Reading large CSV files with MATLAB

Reading very large CSV files in MATLAB can be extremely slow and may even cause MATLAB to freeze or crash. A few weeks ago I was trying to read a CSV file of ~300MB, and it took forever to load although I have a fairly good laptop (i7-3537U, 8GB RAM, …