Posts

How to Install OpenCV Package to WinPython

Image
Nowadays, it will be strange for a programmer to never heard of Python. According to  this post  on stackoverflow's blog, Python is one of the most fastest growing programming languages.  Since my programming skill is not in the advance realm, I can't compare each programming languages to justify the idea why Python is so popular. So I will put reasons aside, and start following where the crowd goes. Should you want to start programming in Python, you could make use of available distributions such as  WinPython  instead of installing from  Python's website . The reasons are: WinPython by default act as a portable software. As I read in some articles, there are some cases where you want to use different versions of Python packages (some kind of library) in your projects. Let's say, your "Project A" needs "Version 1.0.1 of package xxx", and "Project B" needs "Version 1.1.5 of package xxx". You can simply install two WinPyt...

Probability (statistics square one)

Image
I put all the blame on my procrastination! It has been so long since I wanted to know what is Kalman filter and how to use it, but all the fun I had with my games hinders me to do so. To cut it short, I did some browsing on the net and found that Kalman filter is actually based on Bayesian inference, which is a statistical method. Knowing that, I was both happy and sad. I was happy because now I know one of the uses of statistics which I learned years ago when I was sitting in undergraduate school. The sad thing is I already forgot them all! So, in this post I will share what I learned about statistics, from square one. I hope you will get something from it. In most of the statistics books I glance through, they always have probability as one of the topics. So I will start with learning what it actually is. Let $x$ be the set of the possible outcomes, and $F$ is a collection of subsets of $x$. A probability on $(x, F)$ is $\mu : F\rightarrow [0, 1]$. In other words, to every set in...

Limit Definition of a Definite Integral

Image
In this post I will talk about the limit definition of a definite integral. A crude definition of definite integral of a function is the area inside a function from from point $a$ to $b$. Suppose that we have a graph below. Definite Integral The area on shade is the definite integral of $f$ from $a$ to $b$. Since we will have difficulties on calculating the area of irregular geometry, it will be much easier if we divide the area into smaller parts with $n$ partitions (we call each partition as $x$) randomly. That way, we can approximate the area using the sum of rectangles. The smaller the parts the better approximation we can get. That way, we will have graph below. Irregular Partitions Point $a$ will have the same value as $x_{0}$ and point $b$ will have the same value as $x_{n}$. Note that the length of each partition is varying. I didn't even bother to use a scale drawing that! The length between each $x$ is called as subinterval, and it will be represented by a...

Preface

Image
Hello, the posts in this blog basically are my study notes on electronics engineering ranging from basic circuits, filters, machine vision, algorithms, AI, etc. Please bear with me and my English, as I am in the middle of learning on how to do a good writing and how to write a proper English article. Hopefully you all will gain something from this blog.