While working on my current Master's thesis involving FPGA development, I found that it was hard to find readable examples of intrinsically two-dimensional filters that cannot be simply decomposed into a horizontal and a vertical convolution, in a way that e.g. a Gaussian filter or a Sobel filter can. Non-separable convolutions or filters require you … Continue reading A tutorial on non-separable 2D convolutions in Vivado HLS

# Simulating a 7-sided die from a 5-sided die

A.S.: Yep, apparently the singular of 'dice' is 'die'. ðŸ˜‰ A tricky programming task has been floating around the Internet which, as you might have guessed from my attempt at a pragmatic title, can be formalized as follows: Given a function that returns a uniformly random number between 1 and 5 (inclusive), design a function … Continue reading Simulating a 7-sided die from a 5-sided die

# Demonstrating Euler’s formula

If you have ever been taught about complex numbers and you're like me, then the sudden appearance of Euler's number in this seemingly unrelated subject was probably met by surprise. That's why in this post, I aim to bring together several concepts you might not have seen together before. To start off, meet Leonhard Euler's … Continue reading Demonstrating Euler’s formula

# Hello World Wide Web

Hi there! I've been considering to start a personal website for some time now, so here goes. I'm not sure what the focus of this blog is going to be yet, but it'll surely have to do with computer science, electronics, aviation, music and mathematics. Maybe some more philosophical stuff as well, who knows. Looking … Continue reading Hello World Wide Web