Category Archives: Uncategorized

[MATLAB] Gram-Schmidt routine thoroughly explained

In Digital Signal Processing (DSP) one should often work or encounter the notion of vector and function spaces and finally orthonormal basis. The latter is one of those small building blocks which makes so many devices working and kicking. The … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | 1 Comment

[MATLAB MEX] Complementary filter for AHRS

Small, lightweight and cheap Inertial Measurement Units (IMU) made their way into many portable electronic devices. Especially those involving physical movements and rotations. There are plenty of applications starting from toy airplanes to serious Inertial Navigation Systems (INS). What exactly … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

[MATLAB] Local Correlation Tracking in Time Series

  The correlation is an important notion in many fields of research or applied science. There is plethora of practical processes that literally spews time-series, and often many at once. It gets more interesting (and more complicated) when we need … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

MATLAB : Output custom paper size figures from command-line

Matlab is great for rapid prototyping and for plotting nice figure. It is less nice when you start to demand specific things. One such thing is plotting and saving nice figure using custom size paper, position etc. Imagine you want … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Parallel AutoClass for Unsupervised Bayesian Clustering

We humans are much more efficient to analyze a complex phenomena if it is well structured and organized. Say we are given 1M points and asked to do some analysis. We can inspect each point separately (very daunting task) but … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Keeping your Raspberry Pi alive: enabling Hardware Watchdog under Arch Linux

  Raspberry Pi [WWW] is a nice platform for implementing nice and potentially complex & useful systems. Once prototyping and testing is over, all you want now is that thing “just works”. Yes, we want to avoid reseting the device … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Raspberry Pi: Configuring Avahi on Arch Linux

Manual network configuration on local network is a fun thing unless you need to get things working right & quick. By this I mean assigning IP addresses manually, remembering and typing the numbers by hand and so on. You understood. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Extreme Learning Machine MATLAB MEX implementation

In real world we have plenty of data sources (e.g. finances, bioinformatics, environment monitoring, multimedia etc). Often we want to leverage this data and to predict what event will occur, which strategy to choose. Simply put – what are those … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Longest Common Subsequence MATLAB MEX

In many applications, e.g. biological applications, one wants to compare or match two sequences. For example, two organisms have their own DNA sequence [WIKI] and a comparison would reveal their similarity based on molecules called bases (Adenine, Guanine, Cytosine and … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment

[EIGEN] How to get in and out data from Eigen matrix

Eigen is a C++ template library [WWW] for linear algebra. You can write expressions involving matrices and vectors as in Matlab [WWW]. No more need to create your own home-made code for matrix addition, multiplication, linear equation solving etc. There … Continue reading

Posted in Uncategorized | Tagged , , , , , | 2 Comments